HeaderPane
Main
Hide
Share Link
Print

SftBoxItem.Enabled Property

Defines the item's enabled/disabled status.

Syntax

Get

C#bool Boolean = object.Enabled;
VB.NETBoolean = object.Enabled As Boolean
C++VARIANT_BOOL Boolean = object->Enabled;
VARIANT_BOOL Boolean = object->GetEnabled();
CHRESULT object->get_Enabled(VARIANT_BOOL* Boolean);
VBBoolean = object.Enabled As Boolean

Put

C#bool object.Enabled = Boolean;
VB.NETobject.Enabled = Boolean As Boolean
C++VARIANT_BOOL object->Enabled = Boolean;
void object->PutEnabled(VARIANT_BOOL Boolean);
CHRESULT object->put_Enabled(VARIANT_BOOL Boolean);
VBobject.Enabled = Boolean As Boolean

object

A SftBoxItem object.

Boolean

Defines the item's enabled/disabled status.

BooleanDescription
TrueThe item is enabled.
FalseThe item is disabled.

Comments

The Enabled property defines the item's enabled/disabled status.

A disabled item is drawn in a "grayed" fashion indicating its status. It uses the colors specified for the disabled state (usually containing the text "Grayed").

Except for the visual difference, a disabled item acts like an enabled item and generates the same events. It is up to the application to implement a different behavior if desired. The Items.SelectEnabledItemsOnly property can be used to define whether only enabled items can be selected by the user using the mouse or keyboard.

See Also SftBoxItem Object | Object Hierarchy


Last Updated 11/04/2026 - (email)
© 2026 Softel vdm, Inc.