FlexPivot for WinForms
DrawCellFlags 列挙体

C1.Win.C1FlexGrid.4.5.2 アセンブリ > C1.Win.C1FlexGrid 名前空間 : DrawCellFlags 列挙体
Specifies which elements of the cell should be drawn by the grid.
シンタックス
'宣言
 
Public Enum DrawCellFlags 
   Inherits System.Enum
public enum DrawCellFlags : System.Enum 
メンバ
メンバ解説
AllDraw all cell elements (background, border, and contents).
BackgroundDraw the cell background.
BorderDraw the cell border.
ContentDraw the cell content (text, images, check boxes, etc).
解説

This enumeration is used when rendering owner-drawn cells.

If you set the System.Windows.Forms.DrawMode property to DrawModeEnum.OwnerDraw, the grid will fire the C1FlexGridBase.OwnerDrawCell event to allow custom cell drawing.

The OwnerDrawCellEventArgs parameter passed to the event handler has a OwnerDrawCellEventArgs.DrawCell method that allows you to use the standard drawing routines for rendering parts of the cell. For example, you can paint a custom background and use the standard drawing routines for the cell borders and content.

See the C1FlexGridBase.OwnerDrawCell event for an example.

継承階層

System.Object
   System.ValueType
      System.Enum
         C1.Win.C1FlexGrid.DrawCellFlags

参照

C1.Win.C1FlexGrid 名前空間