バージョン

Settings プロパティ (FieldLayout)

この FieldLayout の特定の設定を保持するオブジェクトを取得または設定します
シンタックス
'宣言
 
Public Property Settings As FieldLayoutSettings
public FieldLayoutSettings Settings {get; set;}
解説

FieldLayoutSettings オブジェクトは以下の 2 つのプロパティから公開されます。

使用例
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>
参照