Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcCharMask Class / HighlightText Property


In This Topic
    HighlightText Property (GcCharMask)
    In This Topic
    Gets or sets whether to highlight text in the control.
    Syntax
    'Declaration
     
    
    Public Property HighlightText As Boolean
    'Usage
     
    
    Dim instance As GcCharMask
    Dim value As Boolean
     
    instance.HighlightText = value
     
    value = instance.HighlightText
    public bool HighlightText {get; set;}

    Property Value

    true when control got focus select all the text; otherwise false. The default value is false.
    Remarks

    This property allows you to highlight all text in the control upon receiving focus.

    If True, the entire contents will be selected.

    If False (the default), the contents will not be selected and the caret will be positioned according to the settings of the SelectionStart and SelectionLength properties.

    See Also