The following tables list the members exposed by AppearanceData.
Name | Description | |
---|---|---|
AlphaLevel | The level (0 to 255) used for alpha blending (0 means default). | |
BackColor | The primary color used to fill the background | |
BackColor2 | The second color used in a gradient fill of the background. | |
BackColorAlpha | Gets/sets an enumeration that specifies which alpha level to apply to the background color | |
BackColorDisabled | The color of the background for disabled elements | |
BackColorDisabled2 | The second color used in a gradient fill of the background for disabled elements. | |
BackGradientAlignment | Gets/sets an enumeration that determines how the BackGradientStyle is aligned with respect to its origin and extent. | |
BackGradientStyle | Gets/sets an enumeration that specifies if and how a color gradient will be used to fill the background. | |
BackHatchStyle | Gets/sets an enumeration that specifies if a hatch brush will be used to fill the background. | |
BorderAlpha | Gets/sets an enumeration that specifies which alpha level to apply to the borders | |
BorderColor | The border color for non-3D borders | |
BorderColor2 | The second border color for non-3D borders | |
BorderColor3DBase | The base color used to create the shadow and highlight colors for raised or inset 3d border styles. If BorderColor3DBase is not set then the BackColor will be used. | |
Cursor | The mouse cursor | |
FontData | The fontdata properties used to draw text | |
ForeColor | The color of text | |
ForeColorDisabled | The color of text in a disabled element | |
ForegroundAlpha | Gets/sets an enumeration that specifies which alpha level to apply to the foreground text. | |
HasFontData | Returns true if any of the fontdata properties are not set to their default values | |
Image | The foreground image. Can be either an image or an index into the imagelist's collection | |
ImageAlpha | Gets/sets an enumeration that specifies which alpha level to apply to the foreground image | |
ImageBackground | Gets/sets the background image | |
ImageBackgroundAlpha | Gets/sets an enumeration that specifies which alpha level to apply to the background image | |
ImageBackgroundDisabled | Gets/sets the background image when the associate element is disabled. | |
ImageBackgroundOrigin | Gets/sets an enumeration that specifies the origin of the background image | |
ImageBackgroundStretchMargins | Determines the margins used when drawing an ImageBackground when ImageBackgroundStyle is set to Stretched. | |
ImageBackgroundStyle | Gets/sets an enumeration that specifies the style of the background image | |
ImageHAlign | The horizontal alignment of the image | |
ImageVAlign | The vertical aligmnent of the image | |
NonDefaultSettings | Bit flags that indicate which properties have non-default values. | |
TextHAlign | The alignment of text horizontally | |
TextTrimming | Specifies how text will be rendered when there is not enough room to display the entire string. | |
TextVAlign | The aligmnent of text vertically | |
ThemedElementAlpha | Gets/sets an enumeration that specifies which alpha level to apply to the themed element. |
Name | Description | |
---|---|---|
Clone | Returns a copy of the structure. | |
ContentAlignmentFromHVAlign | Static method for converting an VAlign and an HAlign value into a ContentAlignment enumerator | |
ConvertFromHatchStyle | Converts from a System.Drawing.Drawing2D.HatchStyle enumeration and returns a BackHatchStyle value that is equivalent. | |
ConvertToHatchStyle | Converts from a BackHatchStyle enumeration and returns a System.Drawing.Drawing2D.HatchStyle value that is equivalent. | |
CreateFont | Overloaded. This creates a font based on the FontData settings and the passed in base font. | |
GetBackColor | Returns the back color to use for an element | |
GetBackColor2 | Returns the second back color to use for an element when doing a gradient fill. | |
GetForeColor | Returns the color to use for an element's text | |
GetImage | Returns the image property as an image. If it was set as an index into an imagelist control it will return the image at that index. If the image property was set to an image it will return that image. | |
GetImageBackground | Returns the image from the appearance that should be used to render the element based on the specified enabled state. | |
HasPropertyBeenSet | Returns true if the requested property has been set | |
HavePropertiesBeenSet | Returns true if any of the requested property have been set | |
HVAlignFromContentAlignment | Static method for converting a ContentAlignment alignment enumerator value into a VAlign and an HAlign value | |
IsSameFont | Overloaded. Checks if the font we would create is the same as would be created by the passed in AppearanceData. | |
Merge | Merges/copies properties from the source to the target structure based on the properties requested | |
MergeExclude | Merges/copies properties from the source to the target structure based on the properties requested | |
MergeInclude | Merges/copies properties from the source to the target structure based on the properties requested | |
ResetFontData | Resets the property back to its default value |