-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathViewBeta.axaml
More file actions
29 lines (29 loc) · 1 KB
/
ViewBeta.axaml
File metadata and controls
29 lines (29 loc) · 1 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
<UserControl
x:Class="Lemon.ModuleNavigation.Sample.Views.ViewBeta"
xmlns="https://github.com/avaloniaui"
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"
d:DesignHeight="450"
d:DesignWidth="800"
mc:Ignorable="d">
<Border
Background="CadetBlue"
BorderBrush="LemonChiffon"
HorizontalAlignment="Stretch"
BorderThickness="1">
<StackPanel>
<TextBlock Text="{Binding Greeting}" />
<Button
HorizontalContentAlignment="Center"
VerticalContentAlignment="Center"
Command="{Binding UnloadViewCommand}"
Content="UnloadView"
IsVisible="{Binding !IsDialog}"/>
<Button
Command="{Binding CloseCommand}"
Content="CloseDialog"
IsVisible="{Binding IsDialog}" />
</StackPanel>
</Border>
</UserControl>