FlexPivot for WinForms
StyleNew プロパティ (CellRange)
使用例 

C1.Win.C1FlexGrid.4.5.2 アセンブリ > C1.Win.C1FlexGrid 名前空間 > CellRange 構造体 : StyleNew プロパティ
Gets or sets the style used to display every cell in the range, creating a new style if necessary.
シンタックス
'宣言
 
Public ReadOnly Property StyleNew As CellStyle
public CellStyle StyleNew {get;}
解説
This property never returns null. If the range does not have a style assigned to it, a new style will be created automatically.
使用例
The code below creates a CellRange structure and uses it to apply a custom style to the entire range.
// create a cell range
CellRange rg = _flex.GetCellRange(1, 1, 5, 5);
            
// make sure range is red
rg.StyleNew.BackColor = Color.Red;
参照

CellRange 構造体
CellRange メンバ