/WPF Dialogs/Dialogs/NewFolderDialog.xaml
XAML | 12 lines | 12 code | 0 blank | 0 comment | 0 complexity | 80d1ff7ebbc81115b53ab0c18897afdd MD5 | raw file
1<Window x:Class="WPF_Dialogs.Dialogs.NewFolderDialog" 2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 4 xmlns:custom="clr-namespace:WPF_Dialogs.Custom_Controls" 5 Title="Create a new Folder" Height="114" Width="300" ResizeMode="NoResize"> 6 <Grid> 7 <TextBox Height="23" HorizontalAlignment="Right" Margin="0,17,12,0" Name="textBoxFolderName" VerticalAlignment="Top" Width="144" TabIndex="1" KeyUp="textBoxFolderName_KeyUp" /> 8 <Label Content="Chose a Name" Height="28" HorizontalAlignment="Left" Margin="12,12,0,0" Name="labelText" VerticalAlignment="Top" /> 9 <custom:DialogButton Content="OK" DialogResult="OK" Click="DialogButton_clicked" x:Name="buttonOK" Margin="110,46,94,0" Height="23" VerticalAlignment="Top" TabIndex="2" /> 10 <custom:DialogButton Content="Cancel" DialogResult="Cancel" Click="DialogButton_clicked" x:Name="buttonCancel" Margin="191,46,12,0" Height="23" VerticalAlignment="Top" TabIndex="3" /> 11 </Grid> 12</Window>