Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Primitives Namespace / InputBase Class / AllowTextInput Property


In This Topic
    AllowTextInput Property
    In This Topic

    Determines if the editable part of the control can be edited. The editable part does not include buttons or spinners, it is typically the text part.

    Syntax
    'Declaration
     
    Public Property AllowTextInput As Boolean
    'Usage
     
    Dim instance As InputBase
    Dim value As Boolean
     
    instance.AllowTextInput = value
     
    value = instance.AllowTextInput
    public bool AllowTextInput {get; set;}

    Property Value

    True if the editable part of the control can be edited.

    See Remarks below for details.

    Remarks
    if IsReadOnly = True, the editable part and the ButtonSpinners can't be used.
    if IsReadOnly = False AND
       AllowText = True and AllowSpin = True : the editable part and the ButtonSpinners can be used.
       AllowText = False and AllowSpin = True : the editable part cannot be used, but the ButtonSpinners can be used.
       AllowText = True and AllowSpin = False: the editable part can be used, but the ButtonSpinners cannot be used.
       AllowText = False and AllowSpin = False : the editable part and the ButtonSpinners cannot be used.
    Requirements

    See Also