Class RibbonDesignerForm
Represents Ribbon designer's form.
Inheritance
Implements
Inherited Members
Namespace: FastReport.Design.RibbonDesigner
Assembly: FastReport.dll
Syntax
public class RibbonDesignerForm : BaseForm, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IDesignerForm
Remarks
This form contains the RibbonDesignerControl. Use the Designer property to get access to this control.
Usually you don't need to create an instance of this class. The designer can be called using the FastReport.Report.Design method of the Report instance.
If you decided to use this class, you need:
- create an instance of this class;
- set the Designer.Report property to report that you need to design;
- call either ShowModal or Show methods to display a form.
Constructors
RibbonDesignerForm()
Creates a new instance of the RibbonDesignerForm class with default settings.
Declaration
public RibbonDesignerForm()
RibbonDesignerForm(Boolean)
Creates a new instance of the RibbonDesignerForm class with default settings.
Declaration
public RibbonDesignerForm(bool fakeArg)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | fakeArg | Ignored |
Properties
Designer
Gets a reference to the RibbonDesignerControl control which is actually a designer.
Declaration
public Designer Designer { get; }
Property Value
Type | Description |
---|---|
Designer |
Methods
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | true if managed resources should be disposed; otherwise, false. |
Overrides
UpdateDpiDependencies()
Update controls on dpi change.
Declaration
public override void UpdateDpiDependencies()
Overrides
Remarks
This method is called when the form's dpi is changed. Write custom logic to update some controls (such as ListBox.ItemHeight) here.
WndProc(ref Message)
Declaration
protected override void WndProc(ref Message m)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Message | m |