-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTextInputDialog.xaml
More file actions
25 lines (22 loc) · 1.01 KB
/
Copy pathTextInputDialog.xaml
File metadata and controls
25 lines (22 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<Window x:Class="lifeviz.TextInputDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Enter Text"
Width="400"
Height="150"
WindowStartupLocation="CenterOwner"
ResizeMode="NoResize">
<Grid Margin="12">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock x:Name="MessageText" Text="Please enter text:" Margin="0,0,0,8"/>
<TextBox x:Name="InputTextBox" Grid.Row="1" VerticalAlignment="Top" Padding="4"/>
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,12,0,0">
<Button Content="Cancel" Width="75" Margin="0,0,8,0" IsCancel="True"/>
<Button Content="OK" Width="75" IsDefault="True" Click="Ok_Click"/>
</StackPanel>
</Grid>
</Window>