|
|
|
SftTreeItems.DisabledItemsSelectable Property |
Defines whether disabled items can be selected by the end-user.
Syntax
VB.NET |
Boolean = object.DisabledItemsSelectable As Boolean |
||
VB |
Boolean = object.DisabledItemsSelectable As Boolean |
||
C#.NET |
bool Boolean = object.DisabledItemsSelectable; |
||
VC++ |
VARIANT_BOOL Boolean = object->DisabledItemsSelectable; |
||
C |
HRESULT object->get_DisabledItemsSelectable(VARIANT_BOOL* Boolean); |
||
Delphi |
Boolean := object.DisabledItemsSelectable : WordBool; |
||
VB.NET |
object.DisabledItemsSelectable = Boolean As Boolean |
||
VB |
object.DisabledItemsSelectable = Boolean As Boolean |
||
C#.NET |
bool object.DisabledItemsSelectable = Boolean; |
||
VC++ |
VARIANT_BOOL object->DisabledItemsSelectable
= Boolean; |
||
C |
HRESULT object->put_DisabledItemsSelectable(VARIANT_BOOL Boolean); |
||
Delphi |
object.DisabledItemsSelectable := Boolean : WordBool; |
object
A SftTreeItems object.
Boolean
Defines whether disabled items can be selected by the end-user.
Boolean |
Description |
True |
Enabled and disabled items are equally selectable by the end-user. |
False |
Only enabled items are selectable by the end-user. Events such as the ItemClick event and others associated with item selection no longer occur for disabled items, if the DisabledItemsSelectable property is set to False. |
Comments
The DisabledItemsSelectable property defines whether disabled items can be selected by the end-user.
The Item.Enabled property defines whether an item is enabled.
Items can always be selected by an application. DisabledItemsSelectable only controls whether the end-user can select an item. The visual appearance of a disabled selected item doesn't necessarily show the item as selected, since it is disabled, but the Item.Selected properly reflects the selection status.
Properties and methods returning the selected item(s) like (Items.SelectionCount, Items.SelectionGroups, Items.SelectionGroupStart, Items.SelectionGroupEnd) may include disabled items, even if DisabledItemsSelectable is used. The Item.Enabled property can be used to test whether an item is enabled.
See Also SftTreeItems Object | Object Hierarchy