Class RibbonMergeManager
A class which contains the extended property for ToolstripItems.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class RibbonMergeManager : IExtenderProvider, IDisposable
Constructors
RibbonMergeManager(RibbonPanelMergeContainer)
Creates a instance for the class RibbonMergeManager
Declaration
public RibbonMergeManager(RibbonPanelMergeContainer ribbonPanelMergeContainer)
Parameters
Type | Name | Description |
---|---|---|
RibbonPanelMergeContainer | ribbonPanelMergeContainer | Gets the corresponding RibbonPanelMergeContainer to merge |
Methods
CanExtend(Object)
Specifies whether this object can provide its extender properties to the specified object.
Declaration
public bool CanExtend(object extendee)
Parameters
Type | Name | Description |
---|---|---|
System.Object | extendee | The System.Object to receive the extender properties. |
Returns
Type | Description |
---|---|
System.Boolean | true if this object can provide extender properties to the specified object |
Dispose()
Calls the Dispose method to dispose the object.
Declaration
public void Dispose()
GetTabIndex(ToolStripTabItem)
Gets the index of the object.
Declaration
public int GetTabIndex(ToolStripTabItem control)
Parameters
Type | Name | Description |
---|---|---|
ToolStripTabItem | control | Gets the index of the merged ToolStripTabItem. |
Returns
Type | Description |
---|---|
System.Int32 | The index of the merged ToolStripTabItem. |
GetToolStripIndex(ToolStripEx)
Gets the index of the object.
Declaration
public int GetToolStripIndex(ToolStripEx control)
Parameters
Type | Name | Description |
---|---|---|
ToolStripEx | control | Gets the index of the merged ToolStripEx. |
Returns
Type | Description |
---|---|
System.Int32 | The index of the merged ToolStripEx. |
GetToolStripItemIndex(ToolStripItem)
Gets the index of the object.
Declaration
public int GetToolStripItemIndex(ToolStripItem control)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.ToolStripItem | control | Gets the index of the merged ToolStripItem. |
Returns
Type | Description |
---|---|
System.Int32 | The index of the merged ToolStripItem. |
SetTabIndex(String, Int32)
Sets the ToolStripItem index of the object while merging.
Declaration
public void SetTabIndex(string tabItem, int position)
Parameters
Type | Name | Description |
---|---|---|
System.String | tabItem | ToolstripItem |
System.Int32 | position | Index of the control |
SetToolStripIndex(ToolStripEx, Int32)
Sets the ToolStripItem index of the object while merging.
Declaration
public void SetToolStripIndex(ToolStripEx toolStripEx, int position)
Parameters
Type | Name | Description |
---|---|---|
ToolStripEx | toolStripEx | ToolstripItem |
System.Int32 | position | Index of the control |
SetToolStripItemIndex(ToolStripItem, Int32)
Sets the ToolStripItem index of the object while merging.
Declaration
public void SetToolStripItemIndex(ToolStripItem toolstripItem, int position)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.ToolStripItem | toolstripItem | ToolstripItem for which the index to be set |
System.Int32 | position | Index of the control |