SftTree/OCX 7.5 Documentation

Display
Print

KeepPosition Property, SftTreeHeader Object

Defines whether this column header must remain in its current position and cannot be reordered.

Syntax

Get

VB.NETBoolean = object.KeepPosition As Boolean
VBBoolean = object.KeepPosition As Boolean
C#.NETbool Boolean = object.KeepPosition;
VC++VARIANT_BOOL Boolean = object->KeepPosition;
VARIANT_BOOL Boolean = object->GetKeepPosition();
CHRESULT object->get_KeepPosition(VARIANT_BOOL* Boolean);

Put

VB.NETobject.KeepPosition = Boolean As Boolean
VBobject.KeepPosition = Boolean As Boolean
C#.NETbool object.KeepPosition = Boolean;
VC++VARIANT_BOOL object->KeepPosition = Boolean;
void object->PutKeepPosition(VARIANT_BOOL Boolean);
CHRESULT object->put_KeepPosition(VARIANT_BOOL Boolean);

object

A SftTreeHeader object.

Boolean

Defines whether this column header must remain in its current position and cannot be reordered.

BooleanDescription
TrueThe column must remain in the current column position. Columns on the left can be reordered but cannot be moved to the right of the column and vice versa. This is usually used with the first column, to prevent the user from changing its position when using column drag & drop.
FalseThe column is not restricted to its current position.

Comments

The KeepPosition property defines whether this column header must remain in its current position and cannot be reordered.

The Headers.Reorderable property can be used to define whether columns can be reordered using column drag & drop.

See Also SftTreeHeader Object | Object Hierarchy


Last Updated 04/28/2018 - (email)
© 2018 Softel vdm, Inc.