SIGN IN SIGN UP
cefsharp / CefSharp UNCLAIMED

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework

0 0 0 C#
<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>