-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Expand file tree
/
Copy pathPromptDialog.xaml
More file actions
21 lines (21 loc) · 1002 Bytes
/
PromptDialog.xaml
File metadata and controls
21 lines (21 loc) · 1002 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<Window x:Class="CefSharp.Wpf.Example.PromptDialog"
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"
mc:Ignorable="d"
SizeToContent="WidthAndHeight"
MinWidth="300"
MinHeight="100"
WindowStyle="SingleBorderWindow"
FocusManager.FocusedElement="{Binding ElementName=txtResponse}"
>
<StackPanel Margin="5">
<TextBlock Name="messageText" Margin="5"/>
<TextBox Name="userPrompt" Margin="5"/>
<StackPanel Orientation="Horizontal" Margin="5" HorizontalAlignment="Right">
<Button Content="_Ok" IsDefault="True" Margin="5" Click="OkClick" />
<Button Content="_Cancel" IsCancel="True" Margin="5" Click="CancelClick" />
</StackPanel>
</StackPanel>
</Window>