整体调整了功能
This commit is contained in:
@@ -23,9 +23,8 @@
|
||||
<Setter Property="Header" Value="{Binding Name}" />
|
||||
<Setter Property="CommandParameter" Value="{Binding CmdPar}" />
|
||||
<Setter Property="FontSize" Value="18" />
|
||||
<Setter Property="IsExpanded" Value="True" />
|
||||
<Setter Property="Command" Value="{Binding DataContext.OpenCommand, RelativeSource={RelativeSource AncestorType=syncfusion:SfNavigationDrawer}}" />
|
||||
<Setter Property="ItemsSource" Value="{Binding ChildrenNavItemDtos}" />
|
||||
<Setter Property="ItemsSource" Value="{x:Null}" />
|
||||
<Setter Property="IconTemplate">
|
||||
<Setter.Value>
|
||||
<!-- Text="{Binding RelativeSource={RelativeSource AncestorType=syncfusion:NavigationItem}, Path=DataContext.Icon}" 给子节点展示图标用 -->
|
||||
@@ -39,6 +38,12 @@
|
||||
</DataTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Style.Triggers>
|
||||
<DataTrigger Binding="{Binding IsParent}" Value="True">
|
||||
<Setter Property="ItemsSource" Value="{Binding ChildrenNavItemDtos}" />
|
||||
<Setter Property="IsExpanded" Value="True" />
|
||||
</DataTrigger>
|
||||
</Style.Triggers>
|
||||
<!--<Setter Property="Icon">
|
||||
<Setter.Value>
|
||||
<TextBlock
|
||||
@@ -103,15 +108,6 @@
|
||||
</syncfusion:SfNavigationDrawer.FooterItems>
|
||||
|
||||
<!-- 内容 -->
|
||||
|
||||
<!--<syncfusion:SfNavigationDrawer.ContentView>
|
||||
<Grid x:Name="contentViewGrid">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
-->
|
||||
<!-- 上方状态栏 - 用户登录信息 -->
|
||||
<!--
|
||||
<Border
|
||||
|
||||
Reference in New Issue
Block a user