Class IcicleRecordDrawEventArgs
EventArgs which handles the drawing process of the Icicle node
Inheritance
System.Object
System.EventArgs
IcicleRecordDrawEventArgs
Namespace: FastReport.BG.Icicle
Assembly: FastReport.BG.dll
Syntax
public class IcicleRecordDrawEventArgs : EventArgs
Constructors
IcicleRecordDrawEventArgs(Graphics, IcicleGeometry, Rectangle, Style, HierarchicalRecord)
Constructs a new instance of IcicleRecordDrawEventArgs
Declaration
public IcicleRecordDrawEventArgs(Graphics g, IcicleGeometry geometry, Rectangle bounds, Style style, HierarchicalRecord record)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | Graphics context |
IcicleGeometry | geometry | Geometry of the node |
System.Drawing.Rectangle | bounds | Bounding rectangle of the node |
Style | style | Drawing style |
HierarchicalRecord | record | Record which node represents |
Properties
Bounds
The bounding rectangle of the node
Declaration
public Rectangle Bounds { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Rectangle |
Geometry
Geometry of the node
Declaration
public IcicleGeometry Geometry { get; }
Property Value
Type | Description |
---|---|
IcicleGeometry |
Graphics
The Graphics context
Declaration
public Graphics Graphics { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Graphics |
Record
Record which node represents
Declaration
public HierarchicalRecord Record { get; }
Property Value
Type | Description |
---|---|
HierarchicalRecord |
Style
Drawing style
Declaration
public Style Style { get; }
Property Value
Type | Description |
---|---|
Style |
Methods
DrawBackground()
Default draw backgound
Declaration
public void DrawBackground()
DrawBorder()
Default draw border
Declaration
public void DrawBorder()
DrawText()
Default draw text
Declaration
public void DrawText()
DrawText(StringFormat)
Draw text with given StringFormat
Declaration
public void DrawText(StringFormat sf)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.StringFormat | sf | StringFormat to use for text draw |