Search
Painter Members
Constructors Properties Methods
 


Used to perform style-dependent rendering.

The following tables list the members exposed by the Painter type.

 Public Constructors

  Name Description

Painter

Initializes a new instance of the Painter class, using the specified Graphics object as a drawing target.

 Public Properties

  Name Description

Target

Gets the painting target.

 Public Methods

  Name Description

DrawBorder

Draws the outline of the specified rectangle using the border settings from the specified style.

DrawBorderBottomLine

Draws a bottom border line of the specified rectangle using the border settings from the specified style.

DrawBorderLeftLine

Draws a left border line of the specified rectangle using the border settings from the specified style.

DrawBorderRightLine

Draws a right border line of the specified rectangle using the border settings from the specified style.

DrawBorderTopLine

Draws a top border line of the specified rectangle using the border settings from the specified style.

DrawContentsText

Draws the specified text using the contents settings from the specified style.

DrawContentsTextRotated

Draws the specified text rotated at 90 degree using the contents settings from the specified style.

DrawHeaderBorder

Draws the outline of the specified rectangle using the header border settings from the specified style.

DrawHeaderText

Draws the specified text using the header settings from the specified style.

DrawHeaderTextRotated

Draws the specified text rotated at 90 degree using the header settings from the specified style.

DrawLine

Overloaded.  

DrawShadow

Draws a shadow of the specified rectangle.

FillBackground

Overloaded.  

FillHeaderBackground

Overloaded.  

FillRectangle

Fills the specified rectangle using the Style.FillColor from the specified style. If the fill color is transparent, nothing is actually drawn.

MeasureContentsText

Overloaded.  

 See Also