Class GanttNode
Represents the rendering of a record in a GanttChart
Inherited Members
Namespace: FastReport.BG.Gantt
Assembly: FastReport.BG.dll
Syntax
public class GanttNode : NodeBase, INode, IRecordOwner, IStyleOwner
Constructors
GanttNode(GanttRecord, GanttChart)
Initialise new instance of GanttNode
Declaration
public GanttNode(GanttRecord record, GanttChart owner)
Parameters
Type | Name | Description |
---|---|---|
GanttRecord | record | Recording with data |
GanttChart | owner | Diagram containing a node |
Properties
Bounds
Declaration
public override Rectangle Bounds { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Rectangle |
Overrides
DrawStyle
Style which is used to Draw the node
Declaration
[TypeConverter(typeof(ExpandableObjectConverter))]
public virtual Style DrawStyle { get; set; }
Property Value
Type | Description |
---|---|
Style |
IntervalStyle
Style which is used to Draw the node interval
Declaration
[TypeConverter(typeof(ExpandableObjectConverter))]
public virtual Style IntervalStyle { get; set; }
Property Value
Type | Description |
---|---|
Style |
Record
Get/Set Gantt Style collection
Declaration
[TypeConverter(typeof(ExpandableObjectConverter))]
public GanttRecord Record { get; }
Property Value
Type | Description |
---|---|
GanttRecord |
Methods
AssignData(GanttNode)
Copies item data from the source object
Declaration
public void AssignData(GanttNode source)
Parameters
Type | Name | Description |
---|---|---|
GanttNode | source | Object to copy from |
Build(GanttGeometry)
Builds a node
Declaration
public void Build(GanttGeometry geometry)
Parameters
Type | Name | Description |
---|---|---|
GanttGeometry | geometry |
Draw(Graphics)
Draws an object
Declaration
public override void Draw(Graphics g)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g |
Overrides
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
UpdateStyle()
Synchronizes the node palette with the parent palette
Declaration
public virtual void UpdateStyle()