| 12345678910111213141516171819202122232425262728293031323334 | <UserControl x:Class="Venus_MainPages.Views.RoleView"             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"              xmlns:d="http://schemas.microsoft.com/expression/blend/2008"              xmlns:local="clr-namespace:Venus_MainPages.Views"             xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"             xmlns:prism="http://prismlibrary.com/"             prism:ViewModelLocator.AutoWireViewModel="True"             mc:Ignorable="d"              d:DesignHeight="450" d:DesignWidth="800">    <StackPanel>               <TreeView Name="checkView" Grid.Column="0" Margin="0,50,0,0" ItemsSource="{Binding VenusMenus}" Width="Auto">            <TreeView.ItemTemplate>                <HierarchicalDataTemplate ItemsSource="{Binding MenuItem,Mode=OneTime}">                    <StackPanel Orientation="Horizontal">                        <CheckBox IsChecked="{Binding Path=IsShow}">                            <!--<i:Interaction.Triggers>                                <i:EventTrigger EventName="Checked">                                                                       <i:InvokeCommandAction Command="{Binding Path=DataContext.MenuItem,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType=TreeViewItem}}" CommandParameter="{Binding}"/>                                </i:EventTrigger>                            </i:Interaction.Triggers>-->                        </CheckBox>                        <TextBlock Foreground="White" FontSize="15" Text="{Binding Path=Id}" HorizontalAlignment="Center" />                    </StackPanel>                </HierarchicalDataTemplate>            </TreeView.ItemTemplate>        </TreeView>        <Button Content="Save" Command="{Binding SaveCommand}" Grid.Row="1" Width="100" Height="20" HorizontalAlignment="Left"/>    </StackPanel></UserControl>
 |