PowerTools SPREAD for Windows Forms 8.0J
BlanksString プロパティ (DefaultRowFilter)


"(空白セル)"フィルタ項目の文字列を取得または設定します。
構文
'Declaration
 
Public Property BlanksString As String
'使用法
 
Dim instance As DefaultRowFilter
Dim value As String
 
instance.BlanksString = value
 
value = instance.BlanksString
public string BlanksString {get; set;}

プロパティ値

空白を含むことを表す文字列を含む String
次のサンプルコードは、フィルタリストの"空白セル"文字列を置き換える文字列を設定します。
fpSpread1.ActiveSheet.Columns[1].AllowAutoFilter = true;
fpSpread1.ActiveSheet.RowFilter.ShowFilterIndicator = true;
fpSpread1.ActiveSheet.RowFilter.AllString = "Show All"; 
fpSpread1.ActiveSheet.RowFilter.BlanksString = "Show The Blanks";
fpSpread1.ActiveSheet.RowFilter.NonBlanksString = "Show The Non-Blanks";
FpSpread1.ActiveSheet.Columns(1).AllowAutoFilter = True
FpSpread1.ActiveSheet.RowFilter.ShowFilterIndicator = True
FpSpread1.ActiveSheet.RowFilter.AllString = "Show All" 
FpSpread1.ActiveSheet.RowFilter.BlanksString = "Show The Blanks"
FpSpread1.ActiveSheet.RowFilter.NonBlanksString = "Show The Non-Blanks"
参照

DefaultRowFilter クラス
DefaultRowFilter メンバ

 

 


© 2004-2015, GrapeCity inc. All rights reserved.