|
|
|
|
AppearanceDefault Property, HeadersClass Class |
Defines the default background appearance of all column headers.
Syntax HeadersClass Class (Softelvdm.SftTreeNET)
VB |
Public Property AppearanceDefault As BackgroundAppearanceEnum |
C# |
public BackgroundAppearanceEnum AppearanceDefault { get; set; } |
C++ |
public: property BackgroundAppearanceEnum AppearanceDefault { |
Property Value
The default appearance of column headers.
Value |
Description |
|
0 | No particular background rendering is applied. Foreground and background colors are used to render the available area. | |
1 | The background is rendered with the same appearance as a plain button (a non-themed button image). Foreground and background colors are used to render the available area. | |
2 | The background is rendered with the same appearance as a header (using Windows themes if available). Foreground and background colors are used to render the available area. However, background colors are ignored when Windows themes are available. | |
3 | The background is rendered with the same appearance as a header above an empty area (using Windows themes if available). Foreground and background colors are used to render the available area. However, background colors are ignored when Windows themes are available. | |
4 | The background is rendered with the same appearance as a plain button (a non-themed button image). ButtonPlainNeverPressed behaves just line ButtonPlain, but does not reflect a pressed state. Foreground and background colors are used to render the available area. | |
5 | The background is rendered with the same appearance as a header (using Windows themes if available). ThemedSystemHeaderNeverPressed behaves just line ThemedSystemHeader, but does not reflect a pressed state. Foreground and background colors are used to render the available area. However, background colors are ignored when Windows themes are available. | |
-1 | The default value is determined by a containing object or by the environment. If no containing object or environmental information is available, BackgroundAppearanceEnum.Default is identical to BackgroundAppearanceEnum.Clean. |
The default value is BackgroundAppearanceEnum.ThemedSystemHeader.
Comments
The AppearanceDefault property defines the default background appearance of all column headers.
Individual header cells can override the default appearance using the CellBaseClass.Appearance property.
Cells in the header area should be defined using a background appearance that reflects their use as a header or button.