| | |
| | | xmlns:dp="clr-namespace:HMI.UI.DpUtil;assembly=HMI.UI" |
| | | mc:Ignorable="d" |
| | | Title="Form" |
| | | SizeToContent="Height" |
| | | Width="600" |
| | | Height="800" |
| | | WindowStartupLocation="CenterOwner" |
| | | Style="{StaticResource ModalWindow}"> |
| | | <Grid Margin="10"> |
| | |
| | | <pu:FormGroup x:Name="FgMenu" Orientation="Vertical" Style="{StaticResource RequiredInputFormGroupStyle}" |
| | | Header="{DynamicResource HMI.Role.Permission}" GroupName="MyFormGroup"> |
| | | <TreeView x:Name="menuTree" Grid.Column="1" Style="{StaticResource DefaultTreeView}" |
| | | |
| | | MaxHeight="550" |
| | | ItemsSource="{Binding TreeDataSource}"> |
| | | <TreeView.ItemTemplate> |
| | | <HierarchicalDataTemplate ItemsSource="{Binding Children}"> |