ClassTreeMapItemPaintingEventArgs
Event arguments used in the ItemPainting event.
Definition
Namespace:Telerik.WinControls.UI.TreeMap
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class TreeMapItemPaintingEventArgs : TreeMapItemEventArgs
Inheritance: objectEventArgsTreeMapItemEventArgsTreeMapItemPaintingEventArgs
Derived Classes:
Inherited Members
Constructors
TreeMapItemPaintingEventArgs(TreeMapDataItem, Graphics, RectangleF, Color, Color, Color, Font, string, ContentAlignment)
Event arguments used in the ItemPainting event.
Declaration
public TreeMapItemPaintingEventArgs(TreeMapDataItem item, Graphics graphics, RectangleF bounds, Color backColor, Color foreColor, Color borderColor, Font font, string text, ContentAlignment textAlignment)
Parameters
item
The data item.
graphics
The graphics object.
bounds
The item bounds.
backColor
The item background color.
foreColor
The item foreground color.
borderColor
The item border color.
font
The item font.
text
The item text.
textAlignment
The text alignment.
Properties
BackColor
Gets or sets the item background color.
BorderColor
Gets or sets the item border color.
Bounds
Gets the bounds of the item.
Font
Gets or sets the item font.
ForeColor
Gets or sets the item foreground color.
Handled
Determines whether the item should be painted.
Text
Gets or sets the item text.
TextAlignment
Gets or sets the text alignment.
Declaration
public ContentAlignment TextAlignment { get; set; }
Property Value