Gets or sets a value that indicates if an item is selected.
Syntax
Visual Basic (Declaration) | |
---|
Public Property Selected As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As ImageItem
Dim value As Boolean
instance.Selected = value
value = instance.Selected |
C# | |
---|
public bool Selected {get; set;} |
Managed Extensions for C++ | |
---|
public: __property bool get_Selected();
public: __property void set_Selected(
bool value
); |
Property Value
true if the item is selected; otherwise, it is false.
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also