更新
This commit is contained in:
@@ -8,8 +8,9 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:models="clr-namespace:WPFluent.Gallery.Models"
|
||||
xmlns:ui="https://github.com/ShrlAlgo/WPFluent"
|
||||
xmlns:vm="clr-namespace:WPFluent.Gallery.ViewModels.Pages.Navigation"
|
||||
mc:Ignorable="d"
|
||||
d:DataContext="{d:DesignInstance local:NavigationPage,
|
||||
d:DataContext="{d:DesignInstance vm:BreadcrumbBarViewModel,
|
||||
IsDesignTimeCreatable=False}"
|
||||
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
|
||||
Title="NavigationPage"
|
||||
@@ -98,12 +99,7 @@
|
||||
</Grid>
|
||||
</TabItem>
|
||||
</TabControl>
|
||||
<Button
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Content="Navigate to the first page"
|
||||
FontSize="24" />
|
||||
<ui:BreadcrumbBar ItemsSource="{Binding ViewModel.Strings, Mode=OneWay}" />
|
||||
<ui:BreadcrumbBar ItemsSource="{Binding Strings, Mode=OneWay}" />
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
@@ -112,8 +108,8 @@
|
||||
<ui:BreadcrumbBar
|
||||
x:Name="BreadcrumbBar2"
|
||||
Grid.Column="0"
|
||||
Command="{Binding ViewModel.FolderSelectedCommand, Mode=OneWay}"
|
||||
ItemsSource="{Binding ViewModel.Folders, Mode=OneWay}">
|
||||
Command="{Binding FolderSelectedCommand, Mode=OneWay}"
|
||||
ItemsSource="{Binding Folders, Mode=OneWay}">
|
||||
<ui:BreadcrumbBar.ItemTemplate>
|
||||
<DataTemplate DataType="{x:Type models:Folder}">
|
||||
<TextBlock Text="{Binding Name, Mode=OneTime}" />
|
||||
@@ -122,7 +118,7 @@
|
||||
</ui:BreadcrumbBar>
|
||||
<Button
|
||||
Grid.Column="1"
|
||||
Command="{Binding ViewModel.ResetFoldersCommand, Mode=OneWay}"
|
||||
Command="{Binding ResetFoldersCommand, Mode=OneWay}"
|
||||
Content="Reset" />
|
||||
</Grid>
|
||||
</ui:StackPanel>
|
||||
|
||||
Reference in New Issue
Block a user