FlexPivot for WinForms
BuildString(StyleElementFlags) メソッド
使用例 

C1.Win.C1FlexGrid.4.5.2 アセンブリ > C1.Win.C1FlexGrid 名前空間 > CellStyle クラス > BuildString メソッド : BuildString(StyleElementFlags) メソッド
StyleElementFlags that specifies which style elements should be included in the string.
Returns a string representation of this CellStyle.
シンタックス
'宣言
 
Public Overloads Function BuildString( _
   ByVal elements As StyleElementFlags _
) As System.String
public System.string BuildString( 
   StyleElementFlags elements
)

パラメータ

elements
StyleElementFlags that specifies which style elements should be included in the string.

戻り値の型

A string containing the settings of the specified style elements.
解説

This method is used to persist grid styles and can be used to define and save 'skins'.

See the CellStyleCollection.BuildString and CellStyleCollection.ParseString methods.

使用例
The code below shows the effect of specifying different values for the elements parameter. It builds one compact string containing only the elements actually defined in a style, and another including all style elements.
// build compact and a long style definition strings
string s1 = _flex.Styles.Fixed.BuildString();
string s2 = _flex.Styles.Fixed.BuildString(StyleElementFlags.All);
            
// show both style definitions
Console.WriteLine("{0}: {1}", s1.Length, s1);
Console.WriteLine("{0}: {1}", s2.Length, s2);
参照

CellStyle クラス
CellStyle メンバ
オーバーロード一覧