The Style type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
Equals | (Inherited from Object.) |
|
|
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
|
ResetAutowrap |
Resets Autowrap property to the default state.
|
|
|
ResetBackColor | |
|
|
ResetBackColor2 | |
|
|
ResetBorder |
Resets the border to the default state.
|
|
|
ResetFont | |
|
|
ResetForeColor | |
|
|
ResetVerticalText |
Resets the inheritance state of the style VerticalText.
|
|
|
ShouldSerializeAutowrap |
Returns false if the Style Autowrap property is in the default state.
|
|
|
ShouldSerializeBackColor |
Returns false if the Style BackColor property is in the default state.
|
|
|
ShouldSerializeBackColor2 |
Returns false if the Style BackColor2 property is in the default state.
|
|
|
ShouldSerializeFont |
Returns false if the Style Font property is in the default state.
|
|
|
ShouldSerializeForeColor |
Returns false if the Style ForeColor property is in the default state.
|
|
|
ShouldSerializeVerticalText |
Returns false if the Style VerticalText property is in the default state.
|
|
|
ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
|
|
Autowrap |
Gets or sets whether the text is automatically wrapped.
|
|
|
BackColor |
Gets or sets the background color.
|
|
|
BackColor2 |
Gets or sets the gradient or hatch background.
|
|
|
Border |
Gets the border object.
|
|
|
Font |
Gets or sets the font object.
|
|
|
ForeColor |
Gets or sets the foreground color.
|
|
|
GradientStyle |
Defines the style of the background gradient filling.
|
|
|
HatchStyle |
Defines the style of the background hatch filling.
|
|
|
HorizontalAlignment |
Gets or sets the text horizontal alignment.
|
|
|
ImageAlignment |
Gets or sets the image alignment.
|
|
|
Opaque |
Gets or sets the whether the background is opaque.
|
|
|
Rotation |
Gets or sets the text rotational orientation.
|
|
|
VerticalAlignment |
Gets or sets the text vertical alignment.
|
|
|
VerticalText |
Gets or sets whether text is displayed vertically.
|