Name | Description | |
---|---|---|
Style Constructor | Overloaded. |
The following tables list the members exposed by Style.
Name | Description | |
---|---|---|
Style Constructor | Overloaded. |
Name | Description | |
---|---|---|
SHADOW_SIZE | The size of shadow. |
Name | Description | |
---|---|---|
BackColor | Gets or sets the System.Drawing.Color used to paint the background. | |
BackColor2 | Gets or sets the secondary color used to build the background gradient. | |
BackImage | Gets or sets the background image for the element. | |
BackImageAlignment | Gets or sets the alignment used to render the background image. | |
BackImageScaling | Gets or sets the scaling used to render the background image. | |
Border | Gets or sets the thickness of the border around the element. | |
BorderColor | Gets or sets the System.Drawing.Color used to draw the border around the element. | |
BorderEdges | Gets BorderEdges object that defines the colors used to paint each edge of the borders. | |
Corners | Gets or sets the radii of the element corners. | |
Font | Gets or sets the font used to paint text within the element. | |
FontPadding | Gets or sets whether text bounding rectangle should include padding. | |
ForeColor | Gets or sets the System.Drawing.Color used to paint the text. | |
Format | Gets or sets the format string used to convert the element value into a string. | |
GammaCorrection | Gets or sets whether to apply gamma correction to the background gradient. | |
GradientBlend | Gets or sets the System.Drawing.Drawing2D.Blend used to paint the background gradient. | |
GradientCenter | Gets or sets the System.Drawing.PointF that represents the center of a radial gradient background in percentage units. | |
GradientInterpolationColors | Gets or sets a System.Drawing.Drawing2D.ColorBlend that defines a multicolor gradient. | |
GradientMode | Gets or sets the GradientMode used to paint the background. | |
HorizontalAlignment | Gets or sets how elements should be aligned in the horizontal direction. | |
ImageAlignment | Gets or sets how images should be aligned within the element. | |
ImageScaling | Gets or sets how images should be scaled within the element. | |
Margins | Gets or sets the thickness of the margins around the element. | |
Padding | Gets or sets the thickness of the padding between the element edges and its content. | |
TextDirection | Gets or sets the direction in which text is rendered. | |
Trimming | Gets or sets how to trim characters that do not fit in the space available. | |
VerticalAlignment | Gets or sets how elements should be aligned in the vertical direction. | |
WordWrap | Gets or sets whether text should be allowed to wrap within the element. |
Name | Description | |
---|---|---|
BrushFromColor | Returns new System.Drawing.SolidBrush if specified color is not System.Drawing.Color.Transparent or null otherwise. | |
Clone | Creates an instance of the Style class that is identical to the current Style (except for the Locked property, which is always false for clones). | |
ColorFromBrush | Returns System.Drawing.SolidBrush.Color if specified brush is a System.Drawing.SolidBrush or System.Drawing.Color.Transparent otherwise. | |
Copy | Copies all attributes from another Style object. | |
Deflate | Overloaded. Deflates the specified System.Drawing.Rectangle by the values of the current Style margins, padding and border. | |
DeflateHeight | Deflates the specified height by the values of the current Style margins, padding and border. | |
DeflateWidth | Deflates the specified width by the values of the current Style margins, padding and border. | |
Dispose | Releases all resources. | |
FormatValue | Converts value to string according to Format property value. | |
Inflate | Overloaded. Inflates the specified System.Drawing.Rectangle by the values of the current Style margins, padding and border. | |
InflateHeight | Inflates the specified height by the values of the current Style margins, padding and border. | |
InflateWidth | Inflates the specified width by the values of the current Style margins, padding and border. | |
Merge | Copies attributes set to non-default values from another Style object. |
Name | Description | |
---|---|---|
OnStyleChanged | Raises the StyleChanged event. |
Name | Description | |
---|---|---|
StyleChanged | Fires when any elements of the Style change. |