Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

Enabled Property, SftTreeHeader Object

Defines whether the column header is enabled.

Syntax

Get

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

Put

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

object

A SftTreeHeader object.

Boolean

Defines whether the column header is enabled.

BooleanDescription
TrueThe column header is enabled.
FalseThe column header is disabled.

Comments

The Enabled property defines whether the column header is enabled.

A disabled column header is drawn using the Headers.GrayedColor property value as text color and column header graphics (see Header.Image property) are drawn in a "grayed" fashion, if based on a bitmap. Other image types, like color samples, .NET image objects, etc., must be explicitly replaced with a grayed image if a different rendering of a disabled image is desired.

A disabled column header button does not generate ItemClick or ItemDblClick events.

See Also SftTreeHeader Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.