バージョン

DataRecordCellAreaGridTemplate プロパティ

セル領域を生成するために使用されるパネル テンプレートを取得または設定します
シンタックス
'宣言
 
Public Property DataRecordCellAreaGridTemplate As ItemsPanelTemplate
public ItemsPanelTemplate DataRecordCellAreaGridTemplate {get; set;}
解説

開発者ガイドの「レコード内でセルを整理」を参照してください。

使用例
The following sample demonstrates how to use the DataRecordCellAreaGridTemplate property to provide a custom grid panel to use when arranging the cells of a DataRecord. This particular examples set the width of the last column to * so that it fills the remaining area. Since the last column should autofil the available area, the AutoFit must be set to true. The AllowResize is set to false since the column cannot be resized when an explicit grid layout has been specified.
<igDP:XamDataGrid BindToSampleData="True" AutoFit="True">
    
    
<igDP:XamDataGrid.FieldSettings>
        
<igDP:FieldSettings AllowResize="False" />
    
</igDP:XamDataGrid.FieldSettings>

    
<igDP:XamDataGrid.FieldLayoutSettings>
        
<igDP:FieldLayoutSettings>
            
<igDP:FieldLayoutSettings.DataRecordCellAreaGridTemplate>
                
<ItemsPanelTemplate>
                    
<Grid>
                        
<Grid.ColumnDefinitions>
                            
<ColumnDefinition Width="120"/>
                            
<ColumnDefinition Width="120"/>
                            
<ColumnDefinition Width="120"/>
                            
<ColumnDefinition Width="*"/>
                        
</Grid.ColumnDefinitions>
                    
</Grid>
                
</ItemsPanelTemplate>
            
</igDP:FieldLayoutSettings.DataRecordCellAreaGridTemplate>
        
</igDP:FieldLayoutSettings>
    
</igDP:XamDataGrid.FieldLayoutSettings>

</igDP:XamDataGrid>
参照