-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Demo project. Updated readme file.
- Loading branch information
Showing
4 changed files
with
38 additions
and
38 deletions.
There are no files selected for viewing
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
65 changes: 32 additions & 33 deletions
65
src/Maui.BindableProperty.Generator.Demo/CustomControls/HeaderControl.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 |
---|---|---|
@@ -1,40 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
x:Class="Maui.BindableProperty.Generator.Demo.CustomControls.HeaderControl" | ||
x:Name="this"> | ||
<VerticalStackLayout xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
x:Class="Maui.BindableProperty.Generator.Demo.CustomControls.HeaderControl" | ||
x:Name="this"> | ||
|
||
<ContentView.Resources> | ||
<VerticalStackLayout.Resources> | ||
|
||
<Style TargetType="{x:Type Label}"> | ||
<Setter Property="Margin" Value="0,10,0,0" /> | ||
</Style> | ||
|
||
</ContentView.Resources> | ||
|
||
<VerticalStackLayout> | ||
|
||
<Label Text="FirstName"/> | ||
<Entry | ||
Text="{Binding Source={x:Reference this},Path=FirstName}"/> | ||
|
||
<Label Text="LastName"/> | ||
<Entry | ||
Text="{Binding Source={x:Reference this},Path=LastName}" /> | ||
|
||
<Label Text="Birth date"/> | ||
<DatePicker | ||
Format="D" | ||
Date="{Binding Source={x:Reference this},Path=BirthDate}" /> | ||
|
||
<Label Text="Country"/> | ||
<Entry | ||
Text="{Binding Source={x:Reference this},Path=Country}" /> | ||
|
||
<Label Text="Full Name : "/> | ||
<Label | ||
FontAttributes="Bold" | ||
Text="{Binding Source={x:Reference this},Path=DisplayName}"/> | ||
|
||
</VerticalStackLayout> | ||
</ContentView> | ||
</VerticalStackLayout.Resources> | ||
|
||
<Label Text="FirstName"/> | ||
<Entry | ||
Text="{Binding Source={x:Reference this},Path=FirstName}"/> | ||
|
||
<Label Text="LastName"/> | ||
<Entry | ||
Text="{Binding Source={x:Reference this},Path=LastName}" /> | ||
|
||
<Label Text="Birth date"/> | ||
<DatePicker | ||
Format="D" | ||
Date="{Binding Source={x:Reference this},Path=BirthDate}" /> | ||
|
||
<Label Text="Country"/> | ||
<Entry | ||
Text="{Binding Source={x:Reference this},Path=Country}" /> | ||
|
||
<Label | ||
Text="Full Name : " /> | ||
<Label | ||
FontAttributes="Bold" | ||
Text="{Binding Source={x:Reference this},Path=DisplayName}" | ||
BackgroundColor="{Binding Source={x:Reference this},Path=BackgroundColor}"/> | ||
|
||
</VerticalStackLayout> |
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