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

テキストフィールドのすべての有効な文字を含む文字列を取得または設定します。
構文
'Declaration
 
Public Property ValidChars As String
public string ValidChars {get; set;}

プロパティ値

有効な文字を含むString
次のサンプルコードは、フィルタセル型を設定します。
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.