GrapeCity SPREAD for WPF 2.0J
IndeterminateContent プロパティ

セルの値がブール値でないときの CheckBoxCellType の内容を取得または設定します。
構文
'Declaration
 
Public Property IndeterminateContent As Object
public object IndeterminateContent {get; set;}

プロパティ値

セルの値がブール値でないときのセル型の内容を含むオブジェクト。既定値は null 参照 (Visual Basicでは Nothing) です。
次のサンプルは CheckBoxCellType に異なるコンテンツを設定する方法を説明します。
CheckBoxCellType checkbox = new CheckBoxCellType();
checkbox.TrueContent = "Yes";
checkbox.FalseContent = "No";
checkbox.IndeterminateContent = "Unknown";
checkbox.IsThreeState = true;
gcSpreadGrid1.Columns[0].CellType = checkbox;
Dim checkbox As New CheckBoxCellType()
checkbox.TrueContent = "Yes"
checkbox.FalseContent = "No"
checkbox.IndeterminateContent = "Unknown"
checkbox.IsThreeState = True
gcSpreadGrid1.Columns(0).CellType = checkbox
参照

CheckBoxCellType クラス
CheckBoxCellType メンバ

 

 


Copyright © 2012 GrapeCity inc. All rights reserved.