Search Results for

    Show / Hide Table of Contents

    Class RibbonDesignerForm

    Represents Ribbon designer's form.

    Inheritance
    System.Object
    System.MarshalByRefObject
    System.ComponentModel.Component
    System.Windows.Forms.Control
    System.Windows.Forms.ScrollableControl
    System.Windows.Forms.ContainerControl
    System.Windows.Forms.Form
    BaseForm
    RibbonDesignerForm
    Implements
    IDesignerForm
    Inherited Members
    BaseForm.NewDpi
    BaseForm.Storage
    BaseForm.CanSaveRestoreState
    BaseForm.DpiChanged
    BaseForm.GetImage(Int32)
    BaseForm.GetImage(String)
    BaseForm.GetImages()
    BaseForm.Localize()
    BaseForm.SaveState()
    BaseForm.RestoreState()
    BaseForm.OnFormClosed(FormClosedEventArgs)
    BaseForm.OnLoad(EventArgs)
    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
    BaseForm.Dispose(Boolean)

    UpdateDpiDependencies()

    Update controls on dpi change.

    Declaration
    public override void UpdateDpiDependencies()
    Overrides
    BaseForm.UpdateDpiDependencies()
    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
    Overrides
    BaseForm.WndProc(ref Message)

    Implements

    IDesignerForm

    Extension Methods

    UIUtils.DrawImageAndText(Control, DrawItemEventArgs, Image, String)
    UIUtils.DrawVisualStyleBorder(Control, Graphics, Rectangle)
    UIUtils.Dpi(Control)
    UIUtils.DpiMultiplier(Control)
    UIUtils.FontDpiMultiplier(Control)
    UIUtils.LogicalToDevice(Control, Int32)
    UIUtils.LogicalToDevice(Control, Single)
    UIUtils.LogicalToDevice(Control, Rectangle)
    UIUtils.LogicalToDevice(Control, Point)
    UIUtils.LogicalToDevice(Control, Size)
    UIUtils.LogicalToDevice(Control, Font, Boolean)
    UIUtils.GetImage(Control, Int32)
    UIUtils.GetImage(Control, String)
    UIUtils.GetImages(Control)
    Back to top © 1998-2025 Copyright Fast Reports Inc.