Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcListBox Class / SelectedItem Property


In This Topic
    SelectedItem Property (GcListBox)
    In This Topic
    Gets or sets the selected item. This is a dependency property.
    Syntax
    'Declaration
     
    <BindableAttribute(True)>
    Public Property SelectedItem As Object
    'Usage
     
    Dim instance As GcListBox
    Dim value As Object
     
    instance.SelectedItem = value
     
    value = instance.SelectedItem
    [Bindable(true)]
    public object SelectedItem {get; set;}

    Property Value

    The selected item. The default is a null reference (Nothing in Visual Basic).
    See Also