Class RibbonPanelDesigner
Designer for RibbonPanel.
Inheritance
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class RibbonPanelDesigner : ParentControlDesigner
Constructors
RibbonPanelDesigner()
Declaration
public RibbonPanelDesigner()
Properties
ActionLists
Gets collection of action lists.
Declaration
public override DesignerActionListCollection ActionLists { get; }
Property Value
Type |
---|
System.ComponentModel.Design.DesignerActionListCollection |
SelectionRules
Gets the SelectionRules. (Overrides.)
Declaration
public override SelectionRules SelectionRules { get; }
Property Value
Type |
---|
System.Windows.Forms.Design.SelectionRules |
Methods
CanParent(Control)
Indicates whether the specified control can be a child of the control managed by this designer.
Declaration
public override bool CanParent(Control control)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | control | The source of the control to test. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified control can be a child of the control managed by this designer; otherwise, false. |
Initialize(IComponent)
Initialize the RibbonPanelDesigner
Declaration
public override void Initialize(IComponent component)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.IComponent | component | The component which needs to specified. |
OnMouseDragBegin(Int32, Int32)
Declaration
protected override void OnMouseDragBegin(int x, int y)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | x | |
System.Int32 | y |
OnPaintAdornments(PaintEventArgs)
Declaration
protected override void OnPaintAdornments(PaintEventArgs pe)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.PaintEventArgs | pe |
OnPanelVisibleChanged(Object, EventArgs)
Occurs when visibility of the panel changed.
Declaration
public void OnPanelVisibleChanged(object sender, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The source of the control. |
System.EventArgs | e | The EventArgs contains the event data. |
OnTolStripStateChanging(Object, CancelEventArgs)
Occurs when ToolStrip state changing.
Declaration
[Obsolete("OnTolStripStateChanging is deprecated, please use OnToolStripStateChanging instead.")]
public void OnTolStripStateChanging(object sender, CancelEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The source of the control. |
System.ComponentModel.CancelEventArgs | e | The CancelEventArgs contains the event data. |
OnToolStripAdded(Object, ToolStripEventArgs)
Occurs when ToolStrip added.
Declaration
public void OnToolStripAdded(object sender, ToolStripEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The source of the control. |
ToolStripEventArgs | args | The ToolStripEventArgs contains the event data. |
OnToolStripRemoved(Object, ToolStripEventArgs)
Occurs when ToolStrip removed.
Declaration
public void OnToolStripRemoved(object sender, ToolStripEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The source of the control. |
ToolStripEventArgs | args | The ToolStripEventArgs contains the event data. |
OnToolStripStateChanging(Object, CancelEventArgs)
Occurs when ToolStrip state changing.
Declaration
public void OnToolStripStateChanging(object sender, CancelEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The source of the control. |
System.ComponentModel.CancelEventArgs | e | The CancelEventArgs contains the event data. |