Class DialogComponentBase
Base class for all dialog components.
Inheritance
Implements
Inherited Members
Namespace: FastReport.Dialog
Assembly: FastReport.dll
Syntax
public abstract class DialogComponentBase : ComponentBase, IComponent, 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)
Copies the contents of another, similar object.
Declaration
public override void Assign(Base source)
Parameters
Type | Name | Description |
---|---|---|
Base | source | Source object to copy the contents from. |
Overrides
Remarks
Call Assign to copy the properties from another object of the same type. The standard form of a call to Assign is
destination.Assign(source);
which tells the destination object to copy the contents of the source object to itself. In this method, all child objects are ignored. If you want to copy child objects, use the AssignAll method.
See Also
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.