クリックまたはドラッグしてリサイズ
RowColCellStyle プロパティ
この行または列内のセルの外観を定義する CellStyle を取得または設定します。

名前空間: C1.WPF.FlexGrid
アセンブリ: C1.WPF.FlexGrid.4 (C1.WPF.FlexGrid.4.dll 内) バージョン: 4.0.20161.507 (4.0.20161.507)
構文
public CellStyle CellStyle { get; set; }

プロパティ値

型: CellStyle
解説
このプロパティを使用すると、グリッドの行と列に適用する再利用可能なスタイルを定義できます。XAML またはコードで CellStyle オブジェクトを簡単に作成し、それらをグリッドの行または列に割り当てることができます。
下の XAML は、2つの CellStyle オブジェクトを定義し、それらを列に適用します。
<Grid.Resources>
<c1:CellStyle x:Key="redStyle"
Background="Red" Foreground="White"
FontWeight="Bold" HorizontalAlignment="Center" />
<c1:CellStyle x:Key="blueStyle"
Background="Blue" Foreground="White" FontStyle="Italic"
HorizontalAlignment="Center" VerticalAlignment="Center" />
</Grid.Resources>

<c1:C1FlexGrid Name="_flex" >
<c1:C1FlexGrid.Columns>
<c1:Column
Header="Hello"
HeaderCellStyle="{StaticResource redStyle}"
CellStyle="{StaticResource blueStyle}" />
</c1:C1FlexGrid.Columns>
<c1:C1FlexGrid.Rows>
<c1:Row/>
<c1:Row/>
</c1:C1FlexGrid.Rows>
</c1:C1FlexGrid>
参照