[]
Represents an object used to render grid elements.
[TypeConverter(typeof(GenericTypeConverter))]
public class Style : IDisposable
| Name | Description |
|---|---|
| Style() | Creates a new instance of this object. |
| Name | Description |
|---|---|
| Alpha | Gets or sets the alpha component when the style is rendered. |
| BackColor | Gets or sets the background color associated with a Style. |
| BackColor2 | Gets or sets the background color associated with a Style. |
| BackgroundImage | Gets or sets the background image associated with a Style. |
| BackgroundPictureDrawMode | Gets or sets the rendering method for a BackgroundImage. |
| Borders | Gets the GridBorders associated with this Style. |
| Font | Gets or sets the Font associated with a Style. |
| ForeColor | Gets or sets the foreground color associated with a Style. |
| ForeGroundPicturePosition | Gets or sets the position that the ForGroupImage is rendered. |
| ForegroundImage | Gets or sets the foreground image associated with a style. |
| GammaCorrection | Gets or sets a value indicating whether gamma correction is enabled when a linear gradient style is rendered. |
| GradientMode | Gets or sets the direction of a linear gradient. |
| HorizontalAlignment | Gets or sets the horizontal text alignment. |
| Locked | Gets or sets a value indicating whether data entry is permitted for the assocated object. |
| MarqueeBorderColor | Gets or sets the marquee color associated with a Style. |
| Name | Gets or sets the name of the Style. |
| Padding | Gets or sets the spacing between cell content and its edges. |
| Trimming | Gets or sets the trim characters for a string that does not completely fit into a layout shape. |
| VerticalAlignment | Gets or sets the vertical text alignment. |
| Wrap | Gets or sets a value indicating whether text is wrapped when it does not fit into a layout shape. |
| Name | Description |
|---|---|
| Dispose() | Called when the class is being disposed. |
| Dispose(bool) | Called when the class is being disposed. |
| Render(Graphics, Rectangle, string) | Renders the given string using the style properties. |
| Render(Graphics, Rectangle, string, DrawCellFlags) | Renders the given string using the style properties. |
| Reset() | Resets all specialized attributes. |
| ResetBackColor() | Reset BackColor to its default value. |
| ResetBackgroundImage() | Resets the BackgroundImage to its default value. |
| ResetBackgroundPictureDrawMode() | Resets BackgroundPictureDrawMode to its default value. |
| ResetFont() | Resets Font to its default value. |
| ResetForeColor() | Resets ForeColor to its default value. |
| ResetForeGroundPicturePosition() | Resets ForGroundImagePosition to its default value. |
| ResetForegroundImage() | Resets ForegroundImage to its default value. |
| ResetHorizontalAlignment() | Resets HorizontalAlignment to its default value. |
| ResetLocked() | Resets Locked to its default value. |
| ResetMarqueeBorderColor() | Reset MarqueeBorderColor to its default value. |
| ResetTrimming() | Resets Trimming to its default value. |
| ResetVerticalAlignment() | Resets VerticalAlignment to its default value. |
| ResetWrap() | Resets Wrap to its default value. |
| ResetWrapText() | Resets WrapText to its default value. |
| ToString() |