ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1.Win.C1TrueDBGrid.Style Members

Style overview

Public Constructors

C1.Win.C1TrueDBGrid.Style Constructor

Creates a new instance of this object.

Public Properties

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.

ForegroundImage

Gets or sets the foreground image associated with a style.

ForeGroundPicturePosition

Gets or sets the position that the ForegroundImage is rendered.

GammaCorrection

Gets or sets a value indicating whether gamma correction is enabled when a linear gradient style is rendered.

GradientMode

Specifies 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.

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.

WrapText

Gets or sets a value indicating whether text is word-wrapped when it does not fit into a layout shape.

Public Methods

Dispose

Overloaded. Called when the class is being disposed.

Render

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.

ResetForegroundImage

Resets ForegroundImage to its default value.

ResetForeGroundPicturePosition

Resets ForeGroundPicturePosition to its default value.

ResetHorizontalAlignment

Resets HorizontalAlignment to its default value.

ResetLocked

Resets Locked to its default value.

ResetTrimming

Resets Trimming to its default value.

ResetVerticalAlignment

Resets VerticalAlignment to its default value.

ResetWrapText

Resets WrapText to its default value.

See Also

C1.Win.C1TrueDBGrid.Style Class | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.