OLAP for WPF /Silverlight
CellStyle プロパティ (RowCol)
使用例 

C1.Silverlight.FlexGrid.5 アセンブリ > C1.Silverlight.FlexGrid 名前空間 > RowCol クラス : CellStyle プロパティ
この行または列内のセルの外観を定義する CellStyle を取得または設定します。
シンタックス
'宣言
 
Public Property CellStyle As CellStyle
public CellStyle CellStyle {get; set;}
解説
このプロパティを使用すると、グリッドの行と列に適用する再利用可能なスタイルを定義できます。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>
参照

RowCol クラス
RowCol メンバ