-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathViewB.axaml
More file actions
18 lines (18 loc) · 803 Bytes
/
ViewB.axaml
File metadata and controls
18 lines (18 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<UserControl 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"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="Lemon.ModuleNavigation.Sample.ModuleBs.ViewB">
<StackPanel Orientation="Vertical" Spacing="10">
<TextBlock Text="{Binding Greeting}" />
<Button
Command="{Binding NavigateCommand}"
CommandParameter="ModuleA"
Content="ToModuleA" />
<Button
Command="{Binding NavigateCommand}"
CommandParameter="ModuleC"
Content="ToModuleC" />
</StackPanel>
</UserControl>