Class RibbonDesignerControl
Represents the Ribbon report designer.
Inheritance
Inherited Members
Namespace: FastReport.Design.RibbonDesigner
Assembly: FastReport.dll
Syntax
[ToolboxBitmap(typeof(Report), "Resources.DesignerControl.bmp")]
public class RibbonDesignerControl : Designer, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, ISupportInitialize
Remarks
This control extends the Designer control with standard menu, status bar, and Ribbon.
Constructors
RibbonDesignerControl()
Initializes a new instance of the RibbonDesignerControl class with default settings.
Declaration
public RibbonDesignerControl()
Properties
MainMenu
Gets the main menu.
Declaration
[Browsable(false)]
public DesignerMenu MainMenu { get; }
Property Value
Type | Description |
---|---|
DesignerMenu |
Ribbon
Gets the ribbon control.
Declaration
[Browsable(false)]
public RibbonControl Ribbon { get; }
Property Value
Type | Description |
---|---|
FastReport.DevComponents.DotNetBar.RibbonControl |
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 |
ShowRibbon
Gets or sets a value indicating whether the ribbon should be displayed or not.
Declaration
[SRCategory("Toolbars")]
public bool ShowRibbon { 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 locationRightBot)
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 | locationRightBot | The location of the lower-right corner of the object's. |
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. |