Class NodeBase
NodeBase class.
Namespace: FastReport.BG.Common
Assembly: FastReport.BG.dll
Syntax
public abstract class NodeBase : INode, IRecordOwner, IStyleOwner
Constructors
NodeBase(RecordBase)
Node Base.
Declaration
public NodeBase(RecordBase record)
Parameters
Type | Name | Description |
---|---|---|
RecordBase | record |
Fields
hover
Hover.
Declaration
protected bool hover
Field Value
Type | Description |
---|---|
System.Boolean |
record
Record.
Declaration
protected RecordBase record
Field Value
Type | Description |
---|---|
RecordBase |
selected
Selected.
Declaration
protected bool selected
Field Value
Type | Description |
---|---|
System.Boolean |
style
Style.
Declaration
protected Style style
Field Value
Type | Description |
---|---|
Style |
Properties
Bounds
Gets bounds rectangle
Declaration
[Browsable(false)]
public abstract Rectangle Bounds { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Rectangle |
Hover
Gets or sets value if node hovered
Declaration
[Browsable(false)]
public virtual bool Hover { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Record
Gets record from node
Declaration
[Browsable(false)]
public virtual RecordBase Record { get; }
Property Value
Type | Description |
---|---|
RecordBase |
Selected
Gets or sets value if node selected
Declaration
[Browsable(false)]
public virtual bool Selected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Style
Gets style from node
Declaration
[Browsable(false)]
public virtual Style Style { get; }
Property Value
Type | Description |
---|---|
Style |
Methods
Draw(Graphics)
Draw.
Declaration
public abstract void Draw(Graphics g)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g |
Explicit Interface Implementations
IRecordOwner.Record
Declaration
[Browsable(false)]
IRecord IRecordOwner.Record { get; }
Returns
Type | Description |
---|---|
IRecord |