Class DialogComponentBase
Base class for all dialog components.
Implements
Inherited Members
Namespace: FastReport.Dialog
Assembly: FastReport.dll
Syntax
public abstract class DialogComponentBase : ComponentBase, IDisposable, IFRSerializable
Constructors
DialogComponentBase()
Initializes a new instance of the DialogComponentBase class with default settings.
Declaration
public DialogComponentBase()
Properties
Height
Gets or sets the height of the object.
Declaration
[Browsable(false)]
public override float Height { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Overrides
Remarks
This property value is measured in the screen pixels. Use Units class to convert a value to desired units.
Left
Gets or sets the left coordinate of the object in relation to its container.
Declaration
[Browsable(false)]
public override float Left { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Overrides
Remarks
This property value is measured in the screen pixels. Use Units class to convert a value to desired units.
To obtain absolute coordinate, use AbsLeft property.
Location
Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
Declaration
public Point Location { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Point |
Size
Gets or sets the height and width of the control.
Declaration
public Size Size { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Size |
Top
Gets or sets the top coordinate of the object in relation to its container.
Declaration
[Browsable(false)]
public override float Top { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Overrides
Remarks
This property value is measured in the screen pixels. Use Units class to convert a value to desired units.
To obtain absolute coordinate, use AbsTop property.
Width
Gets or sets the width of the object.
Declaration
[Browsable(false)]
public override float Width { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Overrides
Remarks
This property value is measured in the screen pixels. Use Units class to convert a value to desired units.
Methods
Assign(Base)
Declaration
public override void Assign(Base source)
Parameters
Type | Name | Description |
---|---|---|
Base | source |
Overrides
GetContextMenu()
Gets the object's context menu.
Declaration
public override ContextMenuBase GetContextMenu()
Returns
Type | Description |
---|---|
ContextMenuBase | Null reference if object does not have a menu. |
Overrides
Remarks
Do not call this method directly. You may override it if you are developing a new component for FastReport.
You may use base menu classes such as ComponentBaseMenu, ReportComponentBaseMenu to create own context menus.