main
1<ui:WPFDialog x:Class="solidware.financials.windows.ui.views.dialogs.AddFamilyMemberDialog"
2 xmlns:ui="clr-namespace:solidware.financials.windows.ui"
3 x:TypeArguments="presenters:AddFamilyMemberPresenter"
4 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
5 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:presenters="clr-namespace:solidware.financials.windows.ui.presenters" Title="Add A Family Member" ShowInTaskbar="False" WindowStartupLocation="CenterScreen" Width="400" Height="170">
6 <DockPanel>
7 <StackPanel>
8 <Label FontWeight="Bold">Add A Family Member</Label>
9 <DockPanel>
10 <UniformGrid Rows="3">
11 <Label>first name</Label>
12 <TextBox Text="{Binding Path=first_name, Mode=TwoWay}"></TextBox>
13 <Label>last name</Label>
14 <TextBox Text="{Binding Path=last_name, Mode=TwoWay}"></TextBox>
15 <Label>date of birth</Label>
16 <DatePicker SelectedDate="{Binding Path=date_of_birth, Mode=TwoWay}"></DatePicker>
17 </UniformGrid>
18 </DockPanel>
19 <UniformGrid Rows="1" >
20 <Button Command="{Binding Save}" IsDefault="True">_Save</Button>
21 <Button Command="{Binding Cancel}" IsCancel="True">_Cancel</Button>
22 </UniformGrid>
23 </StackPanel>
24 </DockPanel>
25</ui:WPFDialog>