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


In This Topic
    HighlightText Property (GcNumber)
    In This Topic
    Gets or sets a value indicates whether highlight text when control got focus.
    Syntax
    'Declaration
     
    
    Public Shadows Property HighlightText As Boolean
    'Usage
     
    
    Dim instance As GcNumber
    Dim value As Boolean
     
    instance.HighlightText = value
     
    value = instance.HighlightText
    public new bool HighlightText {get; set;}

    Property Value

    A bool value indicates whether highlight text.
    The defalut 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 EditBase.SelectionLength properties.

    See Also