main
 1<Window x:Class="presentation.windows.views.AddNewDetailAccountDialog" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:views="clr-namespace:presentation.windows.views" Title="Add New Detail Account">
 2	<StackPanel>
 3        <ListView HorizontalContentAlignment="Stretch" KeyboardNavigation.TabNavigation="Continue">
 4            <ListView.ItemContainerStyle>
 5                <Style TargetType="{x:Type ListViewItem}">
 6                    <Setter Property="IsTabStop" Value="False" />
 7                </Style>
 8            </ListView.ItemContainerStyle>
 9            <ListViewItem>
10                <DockPanel HorizontalAlignment="Stretch">
11                    <Label Width="150">Name:</Label>
12                    <TextBox HorizontalAlignment="Stretch" Text="{Binding Path=account_name}"/>
13                </DockPanel>
14            </ListViewItem>
15            <ListViewItem>
16                <DockPanel>
17                    <Label Width="150">Currency:</Label>
18                    <ComboBox SelectedItem="{Binding Path=currency}" ItemsSource="{Binding Path=currencies}"></ComboBox>
19                </DockPanel>
20            </ListViewItem>
21        </ListView>
22        <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
23            <views:ImageButton ImageSource="images\save.png" ToolTip="Add" Label="_Add" Command="{Binding Path=add}" IsDefault="True"/>
24        	<views:ImageButton ImageSource="images\cancel.png"  ToolTip="Cancel" Label="_Cancel" Command="{Binding Path=cancel}" IsCancel="True" />
25        </StackPanel>
26    </StackPanel>
27</Window>