| | |
| | | Padding="10" |
| | | Background="#f0f2f5" |
| | | d:DesignHeight="450" d:DesignWidth="800"> |
| | | <UserControl.Resources> |
| | | </UserControl.Resources> |
| | | <Grid> |
| | | <Grid.ColumnDefinitions> |
| | | <ColumnDefinition Width="6*"/> |
| | |
| | | Command="{Binding CheckCommand}" |
| | | CommandParameter="{Binding Path=IsChecked,RelativeSource={RelativeSource Mode=Self}}" |
| | | /> |
| | | <Image Width="{StaticResource ContentFontSize}" |
| | | Height="{StaticResource ContentFontSize}" Margin="5" Source="{Binding MenuIcon,Converter={StaticResource path2Image},Mode=OneWay}"/> |
| | | <!--<Image Width="{StaticResource ContentFontSize}" |
| | | Height="{StaticResource ContentFontSize}" Margin="5" Source="{Binding MenuIcon,Converter={StaticResource path2Image},Mode=OneWay}"/>--> |
| | | <TextBlock VerticalAlignment="Center" Text="{Binding MenuName}"/> |
| | | </StackPanel> |
| | | </HierarchicalDataTemplate> |