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 Autowrap property to the default state.
Public method ResetBackColor
Public method ResetBackColor2
Public method ResetBorder
Resets the border to the default state.
Public method ResetFont
Public method ResetForeColor
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 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 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 whether the background is opaque.
Public property Rotation
Gets or sets the text rotational orientation.
Public property VerticalAlignment
Gets or sets the text vertical alignment.
Public property VerticalText
Gets or sets whether text is displayed vertically.

See Also