forked from dotnet/maui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
src/Controls/samples/Controls.Sample.Sandbox/DetailPage.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<ContentPage | ||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
x:Class="Maui.Controls.Sample.DetailPage" | ||
Title="Detail" | ||
xmlns:local="clr-namespace:Maui.Controls.Sample"> | ||
<!--<Grid> | ||
<Grid.RowDefinitions> | ||
<RowDefinition Height="50" /> | ||
<RowDefinition Height="50" /> | ||
<RowDefinition Height="50" /> | ||
<RowDefinition Height="50" /> | ||
</Grid.RowDefinitions> | ||
<Entry Text='Hii' | ||
Grid.Row="0" | ||
ClearButtonVisibility="WhileEditing" /> | ||
<DatePicker Date="06/21/2022" | ||
Grid.Row="1" /> | ||
<CheckBox IsChecked="True" | ||
Grid.Row="2" /> | ||
<Button Text="Click" | ||
Grid.Row="3" | ||
Clicked="Button_Clicked" /> | ||
</Grid>--> | ||
</ContentPage> |
18 changes: 18 additions & 0 deletions
18
src/Controls/samples/Controls.Sample.Sandbox/DetailPage.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Microsoft.Maui.Controls; | ||
using Microsoft.Maui.Graphics; | ||
|
||
namespace Maui.Controls.Sample | ||
{ | ||
public partial class DetailPage : ContentPage | ||
{ | ||
public DetailPage() | ||
{ | ||
InitializeComponent(); | ||
} | ||
|
||
//void Button_Clicked(System.Object sender, System.EventArgs e) | ||
//{ | ||
// Application.Current.UserAppTheme = AppTheme.Dark; | ||
//} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters