FlexPivot for WinForms
Style プロパティ (PivotField)

C1.PivotEngine アセンブリ > C1.PivotEngine 名前空間 > PivotField クラス : Style プロパティ
Gets the PivotFieldStyle used to display the field values on the grid.
シンタックス
'宣言
 
Public ReadOnly Property Style As PivotFieldStyle
public PivotFieldStyle Style {get;}
解説

This property allows you to assign style properties to a specific PivotField, customizing the way the field values are displayed to the user.

Customizing the appearance of a field can be useful in views that contain multiple value fields.

For example, the code below creates a view with two value fields and gives one of the fields a green background:

// create view var fp = this.c1FlexPivotPage1.FlexPivotEngine; fp.RowFields.Add("ProductName"); fp.ColumnFields.Add("Country"); fp.ValueFields.MaxItems = 2; fp.ValueFields.Add("ExtendedPrice", "Freight"); // give the "ExtendedPrice" field a green background var f = fp.Fields["ExtendedPrice"]; f.Style.BackColor = Color.FromArgb(240, 255, 240);

You can also create conditional styles using the StyleHigh and StyleLow properties.

参照

PivotField クラス
PivotField メンバ