Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / EditBase Class / SelectedText Property


In This Topic
    SelectedText Property
    In This Topic
    Gets or sets a value indicating the currently selected text in the control.
    Syntax
    'Declaration
     
    Public Property SelectedText As String
    'Usage
     
    Dim instance As EditBase
    Dim value As String
     
    instance.SelectedText = value
     
    value = instance.SelectedText
    public string SelectedText {get; set;}

    Property Value

    A string that represents the currently selected text in the control.
    The default is string.Empty.
    Remarks
    You can assign text to this property to change the text currently selected in the control. If no text is currently selected in the control, this property will insert the new value to the Text property at the current caret position.
    See Also