You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							45 lines
						
					
					
						
							3.2 KiB
						
					
					
				
			
		
		
	
	
							45 lines
						
					
					
						
							3.2 KiB
						
					
					
				<UserControl x:Class="Kingo.Plugin.SystemSetting.View.ViewSystemSetting.ViewBGRuleSetting" | 
						|
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | 
						|
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | 
						|
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | 
						|
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | 
						|
             xmlns:dxg="clr-namespace:DevExpress.Xpf.Grid;assembly=DevExpress.Xpf.Grid.v17.1" | 
						|
             mc:Ignorable="d"  | 
						|
             d:DesignHeight="450" d:DesignWidth="800"> | 
						|
    <Grid Background="White"> | 
						|
        <GroupBox Header="变更图斑检查规则设置" HorizontalAlignment="Stretch"  Margin="8" VerticalAlignment="Stretch"> | 
						|
            <Grid> | 
						|
                <Grid x:Name="gridTBList" Grid.RowSpan="2"> | 
						|
                    <Grid.Resources> | 
						|
                        <HierarchicalDataTemplate x:Key="ItemNode" ItemsSource="{Binding}"> | 
						|
                            <StackPanel Orientation="Horizontal" Height="28" ContextMenu="{Binding cMenu}"> | 
						|
                                <TextBlock Name="txtBox" Text="{Binding CfgName}" FontSize="13" VerticalAlignment="Center" Margin="3,0,0,0"> | 
						|
                                </TextBlock> | 
						|
                            </StackPanel> | 
						|
                            <HierarchicalDataTemplate.Triggers> | 
						|
                                <DataTrigger Binding="{Binding IsOpenEdit,Mode=TwoWay}" Value="true"> | 
						|
                                    <Setter TargetName="txtBox" Property="Foreground" Value="Red" /> | 
						|
                                </DataTrigger> | 
						|
                            </HierarchicalDataTemplate.Triggers> | 
						|
                        </HierarchicalDataTemplate> | 
						|
                    </Grid.Resources> | 
						|
                </Grid> | 
						|
                <Grid x:Name="gridLayerAttribute" Grid.Column="1" Grid.Row="1"> | 
						|
                    <dxg:TreeListControl x:Name="treeList" AutoGenerateColumns="None"> | 
						|
                        <dxg:TreeListControl.Columns> | 
						|
                            <dxg:TreeListColumn Header="规则名称" FieldName="RuleName" Width="450" AllowEditing="False"/> | 
						|
                            <dxg:TreeListColumn Header="规则类别" FieldName="RuleType" Width="110" AllowEditing="False"/> | 
						|
                            <dxg:TreeListColumn Header="是否选择" FieldName="BGIsSelect" Width="110"/> | 
						|
                            <!--<dxg:TreeListColumn Name="colBirthDate" FieldName="DisplayWhere" Width="80"/>--> | 
						|
                        </dxg:TreeListControl.Columns> | 
						|
                        <dxg:TreeListControl.View> | 
						|
                            <dxg:TreeListView x:Name="view" KeyFieldName="ID"  ParentFieldName="PID" AutoWidth="True" AllowPerPixelScrolling="True" AutoExpandAllNodes="True" | 
						|
                                IsTotalSummaryMenuEnabled="{Binding IsColumnMenuEnabled, RelativeSource={RelativeSource Self}}" AllowCascadeUpdate="{Binding AllowPerPixelScrolling, RelativeSource={RelativeSource Self}}"  | 
						|
                                CellValueChanging="View_CellValueChanged" ShowTotalSummary="True"  AllowScrollAnimation="True"/> | 
						|
                        </dxg:TreeListControl.View> | 
						|
                    </dxg:TreeListControl> | 
						|
                </Grid> | 
						|
            </Grid> | 
						|
        </GroupBox> | 
						|
    </Grid> | 
						|
</UserControl> |