Class BackStageTabReflectable
Represents quick tab able to reflect functionality of referenced tool strip button.
Inheritance
Implements
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class BackStageTabReflectable : ToolStripButton, IQuickItem
Constructors
BackStageTabReflectable()
Creates new instance of BackStageTab.
Declaration
public BackStageTabReflectable()
BackStageTabReflectable(BackStageTab)
Constructor of the BackStageTabReflectable
Declaration
public BackStageTabReflectable(BackStageTab reflectedtab)
Parameters
Type | Name | Description |
---|---|---|
BackStageTab | reflectedtab | The BackstageTab instance. |
Properties
Enabled
Gets / Sets the QuickButtonReflectable is enabled or disabled.
Declaration
public override bool Enabled { get; set; }
Property Value
Type |
---|
System.Boolean |
ReflectedButton
Gets or sets button that is reflected by current QuickItemButton.
Declaration
public ToolStripButton ReflectedButton { get; set; }
Property Value
Type |
---|
System.Windows.Forms.ToolStripButton |
ReflectedComponent
Gets component that is reflected by current QuickItemButton.
Declaration
public Component ReflectedComponent { get; }
Property Value
Type |
---|
System.ComponentModel.Component |
Size
Gets or sets the size of the item.
Declaration
public override Size Size { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Size | A System.Drawing.Size, representing the width and height of a rectangle. |
Methods
GetPreferredSize(Size)
Retrieves the size of a rectangular area into which a control can be fit.
Declaration
public override Size GetPreferredSize(Size constrainingSize)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Size | constrainingSize | The custom-sized area for a control. |
Returns
Type | Description |
---|---|
System.Drawing.Size | A System.Drawing.Size ordered pair, representing the width and height of a rectangle. |
OnClick(EventArgs)
Redirects mouse click to reflected button.
Declaration
protected override void OnClick(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
OnLayout(LayoutEventArgs)
To update size of the ToolStrip items in 150 scaling
Declaration
protected override void OnLayout(LayoutEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.LayoutEventArgs | e |
OnMouseHover(EventArgs)
Declaration
protected override void OnMouseHover(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
OnPaint(PaintEventArgs)
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.PaintEventArgs | e |
Reflects(IComponent)
Checks whether current class instance reflects given component.
Declaration
public bool Reflects(IComponent c)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.IComponent | c | Provide functionality required by all the components. |
Returns
Type |
---|
System.Boolean |
Reset()
Reset the QuickButtonReflectable.
Declaration
public void Reset()