|
|
|
VirtualItem.Enabled Property |
Defines the item's enabled/disabled status.
Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.Enabled instead
Syntax
VB.NET |
object.Enabled = Boolean As Boolean |
||
VB |
object.Enabled = Boolean As Boolean |
||
C#.NET |
bool object.Enabled = Boolean; |
||
VC++ |
VARIANT_BOOL object->Enabled = Boolean;
|
||
C |
HRESULT object->put_Enabled(VARIANT_BOOL Boolean); |
||
Delphi |
object.Enabled := Boolean : WordBool; |
object
A VirtualItem object.
Boolean
Defines the item's enabled/disabled status.
Boolean |
Description |
True |
The item is enabled. |
False |
The item is disabled. It is drawn in a "grayed" manner indicating its status. Except for the visual difference, a disabled item is treated exactly like an enabled item. It is up to the application to implement a different behavior if an item is disabled. |
Comments
Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.Enabled instead
The Enabled property defines the item's enabled/disabled status.
The VirtualItem.Enabled property is used while handling a VirtualItem event to define the item's enabled/disabled status. The item is described by the VirtualItem event's RowIndex parameter.
See Also VirtualItem Object | Object Hierarchy