[This is preliminary documentation and is subject to change.]
The Style type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | Style |
Creates a style in a context of control and parent. If an attribute is not defined in this instance it is tried to be fetched from parent.
If parent is not available then control context is used if it is not null for some properties like Font and BGColor. Both context and parent may be null
|
Methods
Name | Description | |
---|---|---|
![]() | Assign |
Copies attributes from another style
|
![]() | ClearBGColor | |
![]() | ClearBGColor2 | |
![]() | ClearBGHatchColor | |
![]() | ClearBGHatchStyle | |
![]() | ClearBGKind | |
![]() | ClearBorderBottom | |
![]() | ClearBorderLeft | |
![]() | ClearBorderRight | |
![]() | ClearBorderTop | |
![]() | ClearForeColor | |
![]() | ClearHAlignment | |
![]() | ClearPadding | |
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Extension Methods
Properties
Name | Description | |
---|---|---|
![]() | BackBrush | |
![]() | BGColor |
Defines background color. Call corresponding Clear method to delete attribute in this instance
|
![]() | BGColor2 |
Defines second background color used by gradients. Call corresponding Clear method to delete attribute in this instance
|
![]() | BGHatchColor |
Defines background hatch color. Call corresponding Clear method to delete attribute in this instance
|
![]() | BGHatchStyle |
Defines background hatch style. Call corresponding Clear method to delete attribute in this instance
|
![]() | BGKind |
Defines background kind. Call corresponding Clear method to delete attribute in this instance
|
![]() | BorderBottom |
Defines bottom border style. Call corresponding Clear method to delete attribute in this instance
|
![]() | BorderLeft |
Defines left border style. Call corresponding Clear method to delete attribute in this instance
|
![]() | BorderRight |
Defines right border style. Call corresponding Clear method to delete attribute in this instance
|
![]() | BorderTop |
Defines top border style. Call corresponding Clear method to delete attribute in this instance
|
![]() | ControlContext |
Returns a context/control that this style is in. May be null
|
![]() | Font |
Defines font information. Null is never returned but may be set so it resets attribute in this instance
|
![]() | ForeBrush | |
![]() | ForeColor |
Defines foreground color. Call corresponding Clear method to delete attribute in this instance
|
![]() | ForePen | |
![]() | HAlignment |
Defines text horizontal alignment. Call corresponding Clear method to delete attribute in this instance
|
![]() | Padding |
Defines padding - an extra space inside of container. Call corresponding Clear method to delete attribute in this instance
|
![]() | Parent |
Returns parent style definition or null
|
See Also