Files
ucalc/ucalc/Pages/LandlordPage.xaml
T
2020-06-10 13:31:48 +02:00

26 lines
1.0 KiB
XML

<Page x:Class="UCalc.Pages.LandlordPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:UCalc.Pages"
xmlns:controls="clr-namespace:UCalc.Controls"
mc:Ignorable="d">
<ScrollViewer>
<StackPanel>
<DockPanel>
<Label DockPanel.Dock="Left" Content="Name:" />
<controls:ErrorIcon DockPanel.Dock="Right"
Error="{Binding Path=Model.Name.Error, RelativeSource={RelativeSource AncestorType=local:LandlordPage}}" />
<TextBox
Text="{Binding Path=Model.Name.Value, RelativeSource={RelativeSource AncestorType=local:LandlordPage}, UpdateSourceTrigger=PropertyChanged}" />
</DockPanel>
</StackPanel>
</ScrollViewer>
</Page>