Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartControl Class / SelectedItem Property


In This Topic
    SelectedItem Property (SmartControl)
    In This Topic
    Gets or sets the currently selected SmartItem.
    Syntax
    'Declaration
     
    <BrowsableAttribute(False)>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
    <DefaultValueAttribute("")>
    Public Property SelectedItem As SmartItem
    'Usage
     
    Dim instance As SmartControl
    Dim value As SmartItem
     
    instance.SelectedItem = value
     
    value = instance.SelectedItem
    [Browsable(false)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    [DefaultValue("")]
    public SmartItem SelectedItem {get; set;}

    Property Value

    A reference to the currently selected SmartItem.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also