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 the inheritance state of the style Autowrap.
|
|
ResetBackColor |
Resets the inheritance state of the element backcolor.
|
|
ResetBorder |
Resets the inheritance state of the element border.
|
|
ResetFont |
Resets the inheritance state of the element font.
|
|
ResetForeColor |
Resets the inheritance state of the element forecolor.
|
|
ResetGradientStyle | ||
ResetHatchStyle | ||
ResetHorizontalAlignment |
Resets the inheritance state of the element text horizontal alignment.
|
|
ResetImageAlignment |
Resets the inheritance state of the element image alignment.
|
|
ResetOpaque |
Resets the inheritance state of the element opaque.
|
|
ResetRotation |
Resets the inheritance state of the element text rotation.
|
|
ResetVerticalAlignment |
Resets the inheritance state of the element text vertical alignment.
|
|
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.
|
|
ShouldSerializeBorder |
Returns false if the Style Border 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.
|
|
ShouldSerializeGradientStyle | ||
ShouldSerializeHatchStyle | ||
ShouldSerializeHorizontalAlignment |
Returns false if the Style HorizontalAlignment property is in the default state.
|
|
ShouldSerializeImageAlignment |
Returns false if the Style ImageAlignment property is in the default state.
|
|
ShouldSerializeOpaque |
Returns false if the Style Opaque property is in the default state.
|
|
ShouldSerializeRotation |
Returns false if the Style Rotation property is in the default state.
|
|
ShouldSerializeVerticalAlignment |
Returns false if the Style VerticalAlignment 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 opaqueness of the background.
|
|
Rotation |
Gets or sets the text orientation.
|
|
VerticalAlignment |
Gets or sets the text vertical alignment.
|
|
VerticalText |
Gets or sets whether text is displayed vertically.
|