Class
TreeMapItemPaintingEventArgs

Event arguments used in the ItemPainting event.

Definition

Namespace:Telerik.WinControls.UI.TreeMap

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class TreeMapItemPaintingEventArgs : TreeMapItemEventArgs

Inheritance: objectEventArgsTreeMapItemEventArgsTreeMapItemPaintingEventArgs

Derived Classes: TreeMapGroupPaintingEventArgs

Inherited Members TreeMapItemEventArgs.ItemTreeMapItemEventArgs.TreeMapElementEventArgs.Empty

Constructors

TreeMapItemPaintingEventArgs(TreeMapDataItem, Graphics, RectangleF, Color, Color, Color, Font, string, ContentAlignment)

Event arguments used in the ItemPainting event.

Declaration

cs-api-definition
public TreeMapItemPaintingEventArgs(TreeMapDataItem item, Graphics graphics, RectangleF bounds, Color backColor, Color foreColor, Color borderColor, Font font, string text, ContentAlignment textAlignment)

Parameters

item

TreeMapDataItem

The data item.

graphics

Graphics

The graphics object.

bounds

RectangleF

The item bounds.

backColor

Color

The item background color.

foreColor

Color

The item foreground color.

borderColor

Color

The item border color.

font

Font

The item font.

text

string

The item text.

textAlignment

ContentAlignment

The text alignment.

Properties

BackColor

Gets or sets the item background color.

Declaration

cs-api-definition
public Color BackColor { get; set; }

Property Value

Color

BorderColor

Gets or sets the item border color.

Declaration

cs-api-definition
public Color BorderColor { get; set; }

Property Value

Color

Bounds

Gets the bounds of the item.

Declaration

cs-api-definition
public RectangleF Bounds { get; set; }

Property Value

RectangleF

Font

Gets or sets the item font.

Declaration

cs-api-definition
public Font Font { get; set; }

Property Value

Font

ForeColor

Gets or sets the item foreground color.

Declaration

cs-api-definition
public Color ForeColor { get; set; }

Property Value

Color

Graphics

Gets the Graphics object.

Declaration

cs-api-definition
public Graphics Graphics { get; }

Property Value

Graphics

Handled

Determines whether the item should be painted.

Declaration

cs-api-definition
public bool Handled { get; set; }

Property Value

bool

Text

Gets or sets the item text.

Declaration

cs-api-definition
public string Text { get; set; }

Property Value

string

TextAlignment

Gets or sets the text alignment.

Declaration

cs-api-definition
public ContentAlignment TextAlignment { get; set; }

Property Value

ContentAlignment