|
|
|
SftBoxHeader.Locked Property |
Defines whether this column header's size is locked so the user cannot resize the column.
Syntax
VB.NET |
Boolean = object.Locked As Boolean |
||
VB |
Boolean = object.Locked As Boolean |
||
C#.NET |
bool Boolean = object.Locked; |
||
VC++ |
VARIANT_BOOL Boolean = object->Locked;
|
||
C |
HRESULT object->get_Locked(VARIANT_BOOL* Boolean); |
||
Delphi |
Boolean := object.Locked : WordBool; |
||
VB.NET |
object.Locked = Boolean As Boolean |
||
VB |
object.Locked = Boolean As Boolean |
||
C#.NET |
bool object.Locked = Boolean; |
||
VC++ |
VARIANT_BOOL object->Locked = Boolean;
|
||
C |
HRESULT object->put_Locked(VARIANT_BOOL Boolean); |
||
Delphi |
object.Locked := Boolean : WordBool; |
object
A SftBoxHeader object.
Boolean
Defines whether this column header's size is locked so the user cannot resize the column.
Boolean |
Description |
True |
The column header and its associated column cannot be resized. |
False |
The column header and its associated column can be resized. |
Comments
The Locked property defines whether this column header's size is locked so the user cannot resize the column.
The Locked property could be used in columns where the displayed data always has the same width and there is no need to allow the user to resize the column.
A locked column only prevents the user from resizing the column. Properties and methods used, such as Column.MakeOptimal can still resize the column.
To hide a column completely, set the Column.Width property to 0 and Locked to True. This not only hides the column, but also makes it impossible for the user to resize the hidden column and make it visible.