// Please use the following namespace
// using System.Windows.Forms;
// using GrapeCity.Win.Editors;
public void SetInputDirectionSettings()
{
// Create an instance of a GcMask control.
GcCharMask gcCharMask1 = new GcCharMask();
// Sets the AutoSize to fix the size.
gcCharMask1.AutoSize = true;
// Sets the CharBoxSpacing to defines the distance of every charbox.
gcCharMask1.CharBoxSpacing = 1;
// Sets the InputDirection to determines the input direction is from right side, to left side.
gcCharMask1.InputDirection = CharMaskInputDirection.RightToLeft;
// After sets the ClipContent to ClipContent.ExcludeLiterals.
// You can copys or cuts the value without literals from the GcCharMask, and paste it to other controls.
gcCharMask1.ClipContent = ClipContent.ExcludeLiterals;
}
' Please use the following namespace
' Imports System.Windows.Forms;
' Imports GrapeCity.Win.Editors;
Public Sub SetInputDirectionSettings()
' Create an instance of a GcMask control.
Dim gcCharMask1 As New GcCharMask()
' Sets the AutoSize to fix the size.
gcCharMask1.AutoSize = True
' Sets the CharBoxSpacing to defines the distance of every charbox.
gcCharMask1.CharBoxSpacing = 1
' Sets the InputDirection to determines the input direction is from right side, to left side.
gcCharMask1.InputDirection = CharMaskInputDirection.RightToLeft
' After sets the ClipContent to ClipContent.ExcludeLiterals.
' You can copys or cuts the value without literals from the GcCharMask, and paste it to other controls.
gcCharMask1.ClipContent = ClipContent.ExcludeLiterals
End Sub