-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathViewAlpha.axaml
More file actions
30 lines (30 loc) · 1.07 KB
/
ViewAlpha.axaml
File metadata and controls
30 lines (30 loc) · 1.07 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
30
<UserControl
d:DesignHeight="450"
d:DesignWidth="800"
mc:Ignorable="d"
x:Class="Lemon.ModuleNavigation.Sample.Views.ViewAlpha"
xmlns="https://github.com/avaloniaui"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:lm="https://github.com/NeverMorewd/Lemon.ModuleNavigation"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Border
Background="IndianRed"
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>