SftTree/NET 2.0

Enabled Property, ItemClass Class

Softel vdm, Inc.

Returns whether this item is enabled.

Syntax      ItemClass Class (Softelvdm.SftTreeNET)

VB   

Public Property Enabled As Boolean

C#   

public bool Enabled { get; set; }

C++   

public: property bool Enabled {
        bool get();
        void set(bool value);
}

Property Value

True if enabled, otherwise False.

The default value is True.

Comments

The Enabled property returns whether this item is enabled.

Items that are disabled respond to mouse clicks just like enabled items. Only their visual appearance, defined by their foreground color, reflects their disabled status.

A disabled item disables all cells and the CellBaseClass.Enabled property is ignored. Cells in an enabled item can override the status by disabling individual cells using the CellBaseClass.Enabled property.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com