|
|
|
<controls:UserControlBase
|
|
|
|
x:Class="StabilityMatrix.Avalonia.Views.SettingsPage"
|
|
|
|
xmlns="https://github.com/avaloniaui"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:controls="clr-namespace:StabilityMatrix.Avalonia.Controls"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
xmlns:mocks="clr-namespace:StabilityMatrix.Avalonia.DesignData"
|
|
|
|
xmlns:ui="using:FluentAvalonia.UI.Controls"
|
|
|
|
xmlns:vm="clr-namespace:StabilityMatrix.Avalonia.ViewModels"
|
|
|
|
xmlns:vmBase="clr-namespace:StabilityMatrix.Avalonia.ViewModels.Base"
|
|
|
|
xmlns:local="clr-namespace:StabilityMatrix.Avalonia"
|
|
|
|
Focusable="True"
|
|
|
|
d:DataContext="{x:Static mocks:DesignData.SettingsViewModel}"
|
|
|
|
d:DesignHeight="700"
|
|
|
|
d:DesignWidth="800"
|
|
|
|
x:CompileBindings="True"
|
|
|
|
x:DataType="vm:SettingsViewModel"
|
|
|
|
mc:Ignorable="d">
|
|
|
|
|
|
|
|
<controls:UserControlBase.Resources>
|
|
|
|
<x:Double x:Key="BreadcrumbBarItemThemeFontSize">24</x:Double>
|
|
|
|
<x:Double x:Key="BreadcrumbBarChevronFontSize">17</x:Double>
|
|
|
|
<Thickness x:Key="BreadcrumbBarChevronPadding">6,3</Thickness>
|
|
|
|
<FontWeight x:Key="BreadcrumbBarItemFontWeight">Medium</FontWeight>
|
|
|
|
</controls:UserControlBase.Resources>
|
|
|
|
|
|
|
|
<Grid RowDefinitions="Auto,*">
|
|
|
|
<ui:BreadcrumbBar
|
|
|
|
Grid.Row="0"
|
|
|
|
Margin="16,8"
|
|
|
|
x:Name="BreadcrumbBar"
|
|
|
|
ItemsSource="{Binding CurrentPagePath}">
|
|
|
|
<ui:BreadcrumbBar.ItemTemplate>
|
|
|
|
<DataTemplate x:DataType="vmBase:PageViewModelBase">
|
|
|
|
<ui:BreadcrumbBarItem Content="{Binding Title}" />
|
|
|
|
</DataTemplate>
|
|
|
|
</ui:BreadcrumbBar.ItemTemplate>
|
|
|
|
</ui:BreadcrumbBar>
|
|
|
|
|
|
|
|
<ui:Frame
|
|
|
|
Grid.Row="1"
|
|
|
|
Name="FrameView">
|
|
|
|
<ui:Frame.NavigationPageFactory>
|
|
|
|
<local:ViewLocator/>
|
|
|
|
</ui:Frame.NavigationPageFactory>
|
|
|
|
</ui:Frame>
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
|
|
</controls:UserControlBase>
|