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


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

    Property Value

    A bool 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