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


In This Topic
    SelectedValue Property
    In This Topic
    Gets or sets an object value indicating the selected value.
    Syntax
    'Declaration
     
    
    Public Property SelectedValue As Object
    'Usage
     
    
    Dim instance As GcComboBox
    Dim value As Object
     
    instance.SelectedValue = value
     
    value = instance.SelectedValue
    public object SelectedValue {get; set;}

    Property Value

    An object value, which could be System.String.Empty.
    The default is System.String.Empty.
    Remarks
    This property equals the text of the SubItem which in the ListItem.SubItems collection of the SelectedItem and located by the value of the ValueSubItemIndex property.
    See Also