-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathInputDialog.xaml
More file actions
29 lines (29 loc) · 1.44 KB
/
InputDialog.xaml
File metadata and controls
29 lines (29 loc) · 1.44 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
26
27
28
29
<local:ExtendedDialog x:Class="Menees.Windows.Presentation.InputDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Menees.Windows.Presentation"
mc:Ignorable="d"
Title="Input Box" Width="400" SizeToContent="Height"
FocusManager.FocusedElement="{Binding ElementName=value}"
x:ClassModifier="internal">
<Grid>
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<StackPanel Margin="12,6,12,12">
<Label Target="{Binding ElementName=value, Mode=OneWay}">
<TextBlock x:Name="prompt" TextWrapping="Wrap" Text="Edit the comment for the Local Router peer group failure that started at 5/19/2020 12:00:00 PM:"/>
</Label>
<TextBox x:Name="value" TabIndex="0"/>
</StackPanel>
<StackPanel Grid.Row="1" Background="{DynamicResource {x:Static SystemColors.ControlBrushKey}}">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
<Button Content="_OK" Width="60" Margin="12,12,0,12" IsDefault="True" Click="OKClicked"/>
<Button Content="_Cancel" Width="60" Margin="12" IsCancel="True"/>
</StackPanel>
</StackPanel>
</Grid>
</local:ExtendedDialog>