PowerTools SPREAD for ASP.NET 8.0J
FilterMode プロパティ

フィルタテキスト型セルのフィルタモードを取得または設定します。
構文
'Declaration
 
Public Property FilterMode As AjaxControlToolkit.FilterModes
public AjaxControlToolkit.FilterModes FilterMode {get; set;}

プロパティ値

フィルタモードを決定するFilterModes設定
次のサンプルコードは、フィルタセル型を設定します。
FarPoint.Web.Spread.Extender.FilteredTextCellType f = new FarPoint.Web.Spread.Extender.FilteredTextCellType();
f.FilterType = AjaxControlToolkit.FilterTypes.Custom;
f.ValidChars = "0123456789AaBbCcDdEeFf";
f.InvalidChars = "`~!@#$%^&*()-+=[]{}:;\',..<>/? ";
f.ShowEditor = true;
f.FilterMode = AjaxControlToolkit.FilterModes.ValidChars;
FpSpread1.ActiveSheetView.Cells[0, 0].CellType = f;
Dim f As New FarPoint.Web.Spread.Extender.FilteredTextCellType
f.FilterType = AjaxControlToolkit.FilterTypes.Custom
f.ValidChars = "0123456789AaBbCcDdEeFf"
f.InvalidChars = "`~!@#$%^&*()-+=[]{}:;',.<>/? "
f.ShowEditor = True
f.FilterMode = AjaxControlToolkit.FilterModes.ValidChars
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = f
参照

FilteredTextCellType クラス
FilteredTextCellType メンバ

 

 


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