The PaintHeaderEventArgs type exposes the following members.

Properties

  NameDescription
Public propertyBounds
Gets the visible bounds of the Header.
Public propertyClipBounds
A Rectangle that represents the area of the Grid that needs to be repainted.
Public propertyFinalHierarchyBackgroundColor
Gets the final color of the hierarchy background. The final color is a result of blending of the BackColor and the selection color.
Public propertyGraphics
Gets the graphics.
Public propertyGrid
Gets the Grid.
Public propertyHandled
Gets or sets a value that indicates whether the event handler has completely handled the event or whether the Grid should continue its own processing.
Public propertyHeader
Gets the Header.
Public propertyHierarchyBounds
Gets the bounds to draw hierarchical buttons, lines etc... (Bounds between the row selector and the Header or Row).
Public propertyParentRow
Gets a Row to which the Header is attached. The parameter can be not null for the Headers on the first and higher hierarchical levels.
Public propertyParts
Gets or sets the parts of the Header that are to be painted.
Public propertyRender
Gets or sets the render that performs basic painting operations
Public propertyRowSelectorBounds
Gets the bounds of the row selector (visual element on the left side of the Grid, which permits to manipulate the Rows, change their height, select them, show related images, etc.).

See Also