Event arguments used in the ItemPainting event.
Definition
Namespace:Telerik.WinControls.UI.TreeMap
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class TreeMapItemPaintingEventArgs : TreeMapItemEventArgs
Inheritance: objectEventArgsTreeMapItemEventArgsTreeMapItemPaintingEventArgs
Derived Classes:
Inherited Members
Constructors
Event arguments used in the ItemPainting event.
C#
public TreeMapItemPaintingEventArgs(TreeMapDataItem item, Graphics graphics, RectangleF bounds, Color backColor, Color foreColor, Color borderColor, Font font, string text, ContentAlignment textAlignment)
The data item.
graphicsGraphicsThe graphics object.
boundsRectangleFThe item bounds.
backColorColorThe item background color.
foreColorColorThe item foreground color.
borderColorColorThe item border color.
fontFontThe item font.
textstringThe item text.
textAlignmentContentAlignmentThe text alignment.
Properties
Gets or sets the item border color.
C#
public Color BorderColor { get; set; }
Gets the bounds of the item.
C#
public RectangleF Bounds { get; set; }
Gets or sets the text alignment.
C#
public ContentAlignment TextAlignment { get; set; }