New to Telerik UI for WinFormsStart a free 30-day trial

Event arguments used in the GroupPainting event.

Definition

Constructors

Event arguments used in the GroupPainting event.

C#
public TreeMapGroupPaintingEventArgs(TreeMapDataItemGroup group, Graphics graphics, RectangleF bounds, Color backColor, Color foreColor, Color borderColor, Font font, string text, ContentAlignment textAlignment, RectangleF headerRect)
Parameters:groupTreeMapDataItemGroup

The data group.

graphicsGraphics

The graphics object.

boundsRectangleF

The group bounds.

backColorColor

The group background color.

foreColorColor

The group foreground color.

borderColorColor

The group border color.

fontFont

The group font.

textstring

The group text.

textAlignmentContentAlignment

The text alignment.

headerRectRectangleF

The header text rectangle.

Properties

Gets the group item.

C#
public TreeMapDataItemGroup Group { get; }

Gets the header text rectangle.

C#
public RectangleF HeaderRect { get; }