Gets or sets the input direction of editing in the masked input.
Syntax
Visual Basic (Declaration) | |
---|
Public Property InputDirection As AjaxControlToolkit.MaskedEditInputDirection |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As MaskedEditCellType
Dim value As AjaxControlToolkit.MaskedEditInputDirection
instance.InputDirection = value
value = instance.InputDirection |
C# | |
---|
public AjaxControlToolkit.MaskedEditInputDirection InputDirection {get; set;} |
Property Value
MaskedEditInputDirection
Example
This example creates a mask cell for monetary input.
C# | Copy Code |
---|
FarPoint.Web.Spread.Extender.MaskedEditCellType m = new FarPoint.Web.Spread.Extender.MaskedEditCellType();
m.Editor.BackColor = Drawing.Color.Beige;
m.Editor.BorderWidth = 1;
m.ShowEditor = true;
m.MaskType = AjaxControlToolkit.MaskedEditType.Number;
m.Mask = "9,999,999.99";
m.DisplayMoney = AjaxControlToolkit.MaskedEditShowSymbol.Left;
m.ClearMaskOnLostFocus = true;
m.PromptCharacter = "#";
m.InputDirection = AjaxControlToolkit.MaskedEditInputDirection.LeftToRight;
FpSpread1.ActiveSheetView.Cells[0, 0].CellType = m;
|
Visual Basic | Copy Code |
---|
Dim m As New FarPoint.Web.Spread.Extender.MaskedEditCellType
m.Editor.BackColor = Drawing.Color.Beige
m.Editor.BorderWidth = 1
m.ShowEditor = True
m.MaskType = AjaxControlToolkit.MaskedEditType.Number
m.Mask = "9,999,999.99"
m.DisplayMoney = AjaxControlToolkit.MaskedEditShowSymbol.Left
m.ClearMaskOnLostFocus = True
m.PromptCharacter = "#"
m.InputDirection = AjaxControlToolkit.MaskedEditInputDirection.LeftToRight
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = m
|
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also