Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcDateTime Class / FieldsEditMode Property


In This Topic
    FieldsEditMode Property
    In This Topic
    Gets or sets the fields edit mode of GcDateTime.
    Syntax
    'Declaration
     
    Public Property FieldsEditMode As FieldsEditMode
    'Usage
     
    Dim instance As GcDateTime
    Dim value As FieldsEditMode
     
    instance.FieldsEditMode = value
     
    value = instance.FieldsEditMode
    public FieldsEditMode FieldsEditMode {get; set;}

    Property Value

    A GrapeCity.Windows.InputMan.FieldsEditMode enumeration value indicates the fields edit mode. The default value is GrapeCity.Windows.InputMan.FieldsEditMode.LeftSide.
    Remarks
    This property indicates how to edit the fields in GcDateTime control. When the value is GrapeCity.Windows.InputMan.FieldsEditMode.LeftSide, user input chars from left to right; When the value is GrapeCity.Windows.InputMan.FieldsEditMode.RightSide, user input chars from right to left; When the value is GrapeCity.Windows.InputMan.FieldsEditMode.Unfixed, user input chars from right to left and even the field is not completed, it may have value at this mode. For example, when user input at DateMonthField and current mode is GrapeCity.Windows.InputMan.FieldsEditMode.Unfixed, if the input char is '1', user will find the value of DateMonthField is changed to 1.
    See Also