バージョン

AutoArrangeCells プロパティ

Field がデフォルトでどのようにレイアウトされるかを決定します。
シンタックス
'宣言
 
Public Property AutoArrangeCells As AutoArrangeCells
public AutoArrangeCells AutoArrangeCells {get; set;}
使用例
The following example provides an explicit arrangement for the cells with a particular FieldLayout. The AutoArrangeCells is set to Never and then the Column, Row, ColumnSpan and RowSpan properties of the Field instances are set to the appropriate values. Note, the values for these properties are 0 based.
<igDP:XamDataGrid BindToSampleData="True">
    
    
<igDP:XamDataGrid.FieldLayouts>
        
        
<!-- define a field layout that will match the data -->
        
<igDP:FieldLayout>
            
            
<!-- initialize settings for this specific field layout -->
            
<igDP:FieldLayout.Settings>
                
<igDP:FieldLayoutSettings AutoArrangeCells="Never"/>
            
</igDP:FieldLayout.Settings>

            
<!-- define the fields for the field layout -->
            
<igDP:FieldLayout.Fields>
                
<igDP:Field Name="name" Column="0" Row="0" RowSpan="2" />
                
<igDP:Field Name="department" Column="1" Row="0" ColumnSpan="2"/>
                
<igDP:Field Name="salary" Column="1" Row="1"/>
                
<igDP:Field Name="email" Column="2" Row="1"/>
            
</igDP:FieldLayout.Fields>
            
        
</igDP:FieldLayout>
    
</igDP:XamDataGrid.FieldLayouts>

</igDP:XamDataGrid>
参照