Stylet/StyletIntegrationTests/ShellView.xaml

32 lines
1.5 KiB
Plaintext
Raw Normal View History

2014-04-04 05:04:53 -07:00
<Window x:Class="StyletIntegrationTests.ShellView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:s="https://github.com/canton7/Stylet"
2014-04-04 05:04:53 -07:00
Title="ShellView" Height="500" Width="500">
<DockPanel LastChildFill="False">
<GroupBox DockPanel.Dock="Top" Header="ShowDialog and DialogResult" Padding="10">
<StackPanel Orientation="Horizontal">
<Button Command="{s:Action ShowDialogAndDialogResult}">Show Dialog</Button>
<TextBlock Margin="50,0,0,0">Result: </TextBlock>
<TextBlock Margin="10,0,0,0" Text="{Binding ShowDialogAndDialogResultDialogResult}"/>
</StackPanel>
</GroupBox>
<GroupBox DockPanel.Dock="Top" Header="Window DisplayName Bound" Padding="10">
<Button Command="{s:Action ShowWindowsDisplayNameBound}">Show Window</Button>
</GroupBox>
<GroupBox DockPanel.Dock="Top" Header="Window Guard Close" Padding="10">
<Button Command="{s:Action ShowWindowGuardClose}">Show Window</Button>
</GroupBox>
<GroupBox DockPanel.Dock="Top" Header="Window Lifecycle" Padding="10">
<Button Command="{s:Action ShowWindowLifecycle}">Show Window</Button>
</GroupBox>
<GroupBox DockPanel.Dock="Top" Header="Actions" Padding="10">
<Button Command="{s:Action ShowActions}">Show Window</Button>
</GroupBox>
2014-04-04 05:04:53 -07:00
</DockPanel>
</Window>