Class DesignerControl
Represents the standard report designer.
Inheritance
Inherited Members
Namespace: FastReport.Design.StandardDesigner
Assembly: FastReport.dll
Syntax
[ToolboxBitmap(typeof(Report), "Resources.DesignerControl.bmp")]
public class DesignerControl : Designer, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, ISupportInitialize
Remarks
This control extends the Designer control with standard menu, status bar, and toolbars.
To choose toolbars and tool windows in design-time, click the "View" menu in this control and select what you want to see. Toolbars can be reordered using the mouse.
To restore the designer layout at runtime, you need to call the RefreshLayout method in your form's Load event handler.
Constructors
DesignerControl()
Initializes a new instance of the DesignerControl class with default settings.
Declaration
public DesignerControl()
Properties
MainMenu
Gets the main menu.
Declaration
[Browsable(false)]
public DesignerMenu MainMenu { get; }
Property Value
Type | Description |
---|---|
DesignerMenu |
ShowMainMenu
Gets or sets a value indicating whether the main menu should be displayed or not.
Declaration
[SRCategory("Toolbars")]
public bool ShowMainMenu { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ShowStatusBar
Gets or sets a value indicating whether the status bar should be displayed or not.
Declaration
[SRCategory("Toolbars")]
public bool ShowStatusBar { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
InitPlugins()
Initializes designer plugins such as toolbars and toolwindows.
Declaration
protected override void InitPlugins()
Overrides
ShowStatus(String, String, String, String)
Shows the selected object's information in the designer's statusbar.
Declaration
public override void ShowStatus(string location, string size, string text, string distanceRight)
Parameters
Type | Name | Description |
---|---|---|
System.String | location | Object's location. |
System.String | size | Object's size. |
System.String | text | Textual information about the selected object. |
System.String | distanceRight |
Overrides
UpdateDpiDependencies(Object)
Updates layout and images on dpi change.
Declaration
public override void UpdateDpiDependencies(object sender)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The sender object. |