|
|
|
|
|
SftOptionsHeader.Style Property |
Defines the appearance of the header.
Syntax
|
VB.NET |
Style = object.Style As SftOptionsHeaderStyleConstants |
||
|
VB |
Style = object.Style As SftOptionsHeaderStyleConstants |
||
|
C#.NET |
SftOptionsHeaderStyleConstants Style = object.Style; |
||
|
VC++ |
enum SftOptionsHeaderStyleConstants Style = object->Style;
|
||
|
C |
HRESULT object->get_Style(enum SftOptionsHeaderStyleConstants* Style); |
||
|
Delphi |
Style := object.Style : TOleEnum; |
||
|
VB.NET |
object.Style = Style As SftOptionsHeaderStyleConstants |
||
|
VB |
object.Style = Style As SftOptionsHeaderStyleConstants |
||
|
C#.NET |
SftOptionsHeaderStyleConstants object.Style = Style; |
||
|
VC++ |
enum SftOptionsHeaderStyleConstants object->Style = Style;
|
||
|
C |
HRESULT object->put_Style(enum SftOptionsHeaderStyleConstants Style); |
||
|
Delphi |
object.Style := Style : TOleEnum; |
||
object
A SftOptionsHeader object.
Style
Defines the appearance of the header.
|
Name |
Value |
Description |
|
headerSftOptionsNone |
0 |
The column header is not displayed. |
|
headerSftOptionsButton |
1 |
The column header is displayed as a button. |
|
headerSftOptionsTitle |
2 |
The column header is displayed as a title. |
Comments
The Style property defines the appearance of the header.
If the Style property is set to headerSftOptionsButton, the column header can be pressed by the user and generates the HeaderClicked event.
Example
SftOptions1.Header.Align = constSftOptionsCenter SftOptions1.Header.Style = headerSftOptionsButton SftOptions1.Header.Text = "Options" SftOptions1.Header.ToolTip = "ToolTip for these options" SftOptions1.Add "", "Topic1", "Sample Topic", entrySftOptionsTopic, "", "", Nothing, "", "", "", "" SftOptions1.InitializationComplete
See Also SftOptionsHeader Object | Object Hierarchy