HeaderPane
Main
Hide
Share Link
Print

Locked Property, SftTreeHeader Object

Defines whether this column's size is locked so the user cannot resize the column.

Syntax

Get

C#bool Boolean = object.Locked;
VB.NETBoolean = object.Locked As Boolean
C++VARIANT_BOOL Boolean = object->Locked;
VARIANT_BOOL Boolean = object->GetLocked();
CHRESULT object->get_Locked(VARIANT_BOOL* Boolean);
VBBoolean = object.Locked As Boolean

Put

C#bool object.Locked = Boolean;
VB.NETobject.Locked = Boolean As Boolean
C++VARIANT_BOOL object->Locked = Boolean;
void object->PutLocked(VARIANT_BOOL Boolean);
CHRESULT object->put_Locked(VARIANT_BOOL Boolean);
VBobject.Locked = Boolean As Boolean

object

A SftTreeHeader object.

Boolean

Defines whether this column's size is locked so the user cannot resize the column.

BooleanDescription
TrueThe column width is locked and the user cannot resize the column. This can be used to hide certain columns. By setting a column's width to 0 and locking it, a user cannot make the column visible.
FalseThe column width is not locked and the user can resize the column.

Comments

The Locked property defines whether this column's size is locked so the user cannot resize the column.

An application can always resize a column by changing its Column.Width property, regardless of the settings of this property.

The Headers.Resizable property can be used to define whether column headers can be resized by the user.

See Also SftTreeHeader Object | Object Hierarchy


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