The Style type exposes the following members.

Methods

  Name Description
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method 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.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ResetAutowrap
Resets the inheritance state of the style Autowrap.
Public method ResetBackColor
Resets the inheritance state of the element backcolor.
Public method ResetBorder
Resets the inheritance state of the element border.
Public method ResetFont
Resets the inheritance state of the element font.
Public method ResetForeColor
Resets the inheritance state of the element forecolor.
Public method ResetGradientStyle
Public method ResetHatchStyle
Public method ResetHorizontalAlignment
Resets the inheritance state of the element text horizontal alignment.
Public method ResetImageAlignment
Resets the inheritance state of the element image alignment.
Public method ResetOpaque
Resets the inheritance state of the element opaque.
Public method ResetRotation
Resets the inheritance state of the element text rotation.
Public method ResetVerticalAlignment
Resets the inheritance state of the element text vertical alignment.
Public method ResetVerticalText
Resets the inheritance state of the style VerticalText.
Public method ShouldSerializeAutowrap
Returns false if the Style Autowrap property is in the default state.
Public method ShouldSerializeBackColor
Returns false if the Style BackColor property is in the default state.
Public method ShouldSerializeBackColor2
Returns false if the Style BackColor2 property is in the default state.
Public method ShouldSerializeBorder
Returns false if the Style Border property is in the default state.
Public method ShouldSerializeFont
Returns false if the Style Font property is in the default state.
Public method ShouldSerializeForeColor
Returns false if the Style ForeColor property is in the default state.
Public method ShouldSerializeGradientStyle
Public method ShouldSerializeHatchStyle
Public method ShouldSerializeHorizontalAlignment
Returns false if the Style HorizontalAlignment property is in the default state.
Public method ShouldSerializeImageAlignment
Returns false if the Style ImageAlignment property is in the default state.
Public method ShouldSerializeOpaque
Returns false if the Style Opaque property is in the default state.
Public method ShouldSerializeRotation
Returns false if the Style Rotation property is in the default state.
Public method ShouldSerializeVerticalAlignment
Returns false if the Style VerticalAlignment property is in the default state.
Public method ShouldSerializeVerticalText
Returns false if the Style VerticalText property is in the default state.
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property Autowrap
Gets or sets whether the text is automatically wrapped.
Public property BackColor
Gets or sets the background color.
Public property BackColor2
Gets or sets the gradient or hatch background.
Public property Border
Gets the border object.
Public property Font
Gets or sets the font object.
Public property ForeColor
Gets or sets the foreground color.
Public property GradientStyle
Defines the style of the background gradient filling.
Public property HatchStyle
Defines the style of the background hatch filling.
Public property HorizontalAlignment
Gets or sets the text horizontal alignment.
Public property ImageAlignment
Gets or sets the image alignment.
Public property Opaque
Gets or sets the opaqueness of the background.
Public property Rotation
Gets or sets the text orientation.
Public property VerticalAlignment
Gets or sets the text vertical alignment.
Public property VerticalText
Gets or sets whether text is displayed vertically.

See Also