FlexPivot for WinForms
GetBackgroundBrush メソッド (C1FlexGridRenderer)

C1.Win.C1FlexGrid.4.5.2 アセンブリ > C1.Win.C1FlexGrid 名前空間 > C1FlexGridRenderer クラス : GetBackgroundBrush メソッド
C1FlexGridBase that contains the cell being drawn.
C1FlexGridRenderer.CellType value that determines the type of cell being drawn.
A System.Drawing.Rectangle that represents the bounds of the cell being drawn.
Gets a System.Drawing.Brush object used to paint the cell background for a specific cell type.
シンタックス
'宣言
 
Public Overridable Function GetBackgroundBrush( _
   ByVal flex As C1FlexGridBase, _
   ByVal cellType As C1FlexGridRenderer.CellType, _
   ByVal bounds As System.Drawing.Rectangle _
) As System.Drawing.Brush
public virtual System.Drawing.Brush GetBackgroundBrush( 
   C1FlexGridBase flex,
   C1FlexGridRenderer.CellType cellType,
   System.Drawing.Rectangle bounds
)

パラメータ

flex
C1FlexGridBase that contains the cell being drawn.
cellType
C1FlexGridRenderer.CellType value that determines the type of cell being drawn.
bounds
A System.Drawing.Rectangle that represents the bounds of the cell being drawn.

戻り値の型

A System.Drawing.Brush object used to render the cell background.
解説
The bounds parameter can be used to create or select complex brushes such as gradient or tiled image brushes.
参照

C1FlexGridRenderer クラス
C1FlexGridRenderer メンバ