[]
        
(Showing Draft Content)

C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs

OwnerDrawOutlineButtonEventArgs Class

Provides data for the OwnerDrawOutlineButton event.

Inheritance
OwnerDrawOutlineButtonEventArgs
Namespace: C1.Win.FlexGrid
Assembly: C1.Win.FlexGrid.8.dll
Syntax
public class OwnerDrawOutlineButtonEventArgs : EventArgs

Constructors

Name Description
OwnerDrawOutlineButtonEventArgs(C1FlexGridBase, Graphics, int, int, int, CellStyle, Rectangle, string, Image)

Initializes a new instance of the OwnerDrawOutlineButtonEventArgs class.

Properties

Name Description
Bounds

Get the rectangle where the outline button will be painted (in client coordinates).

Col

Get column index of the cell which contains the outline button being painted.

Graphics

Gets the Graphics object used to draw the outline button. Use this object to draw custom elements in the outline button.

Handled

Gets or sets whether the event has finished drawing the outline button.

Image

Gets or sets the image that will be displayed in the cell.

Level

Get the level of the tree which will be collapsed by clicking on the outline button.

Row

Get the row index of the cell which contains the outline button being painted.

Style

Sets or sets the CellStyle object used to paint the outline button.

Text

Gets or sets the text that will be displayed in the outline button.

Methods

Name Description
DrawOutlineButton()

Causes the grid to paint the whole outline button.

DrawOutlineButton(DrawCellFlags)

Causes the grid to paint parts of the outline button (background, foreground, border, etc.)