Class TreeMapItemPaintingEventArgs
Event arguments used in the ItemPainting event.
Inherited Members
Namespace: Telerik.WinControls.UI.TreeMap
Assembly: Telerik.WinControls.UI.dll
Syntax
public class TreeMapItemPaintingEventArgs : TreeMapItemEventArgs
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
TreeMapDataItem
item
The data item. |
System.Drawing.Graphics
graphics
The graphics object. |
System.Drawing.RectangleF
bounds
The item bounds. |
System.Drawing.Color
backColor
The item background color. |
System.Drawing.Color
foreColor
The item foreground color. |
System.Drawing.Color
borderColor
The item border color. |
System.Drawing.Font
font
The item font. |
System.String
text
The item text. |
System.Drawing.ContentAlignment
textAlignment
The text alignment. |
Properties
BackColor
Gets or sets the item background color.
Declaration
public Color BackColor { get; set; }
Property Value
System.Drawing.Color
|
BorderColor
Gets or sets the item border color.
Declaration
public Color BorderColor { get; set; }
Property Value
System.Drawing.Color
|
Bounds
Gets the bounds of the item.
Declaration
public RectangleF Bounds { get; set; }
Property Value
System.Drawing.RectangleF
|
Font
Gets or sets the item font.
Declaration
public Font Font { get; set; }
Property Value
System.Drawing.Font
|
ForeColor
Gets or sets the item foreground color.
Declaration
public Color ForeColor { get; set; }
Property Value
System.Drawing.Color
|
Graphics
Gets the System.Drawing.Graphics object.
Declaration
public Graphics Graphics { get; }
Property Value
System.Drawing.Graphics
|
Handled
Determines whether the item should be painted.
Declaration
public bool Handled { get; set; }
Property Value
System.Boolean
|
Text
Gets or sets the item text.
Declaration
public string Text { get; set; }
Property Value
System.String
|
TextAlignment
Gets or sets the text alignment.
Declaration
public ContentAlignment TextAlignment { get; set; }
Property Value
System.Drawing.ContentAlignment
|