Defines whether this column header must remain in its current position and cannot be reordered.
Get
| C# | bool Boolean = object.KeepPosition; |
| VB.NET | Boolean = object.KeepPosition As Boolean |
| C++ | VARIANT_BOOL Boolean = object->KeepPosition; VARIANT_BOOL Boolean = object->GetKeepPosition(); |
| C | HRESULT object->get_KeepPosition(VARIANT_BOOL* Boolean); |
| VB | Boolean = object.KeepPosition As Boolean |
Put
| C# | bool object.KeepPosition = Boolean; |
| VB.NET | object.KeepPosition = Boolean As Boolean |
| C++ | VARIANT_BOOL object->KeepPosition = Boolean; void object->PutKeepPosition(VARIANT_BOOL Boolean); |
| C | HRESULT object->put_KeepPosition(VARIANT_BOOL Boolean); |
| VB | object.KeepPosition = Boolean As Boolean |
object
A SftTreeHeader object.
Boolean
Defines whether this column header must remain in its current position and cannot be reordered.
| Boolean | Description |
|---|---|
| True | The 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. |
| False | The column is not restricted to its current position. |
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