Class QuickToolstripReflectable
Represents dropdown button situated in quick items panel and reflecting existing toolstrip.
Implements
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class QuickToolstripReflectable : CustomDropDownButtonBase, IQuickItem
Constructors
QuickToolstripReflectable()
Creates new instance of QuickToolStripDropDownButton.
Declaration
public QuickToolstripReflectable()
QuickToolstripReflectable(ToolStripEx)
Declaration
public QuickToolstripReflectable(ToolStripEx reflectedToolStrip)
Parameters
Type | Name | Description |
---|---|---|
ToolStripEx | reflectedToolStrip |
Properties
ReflectedComponent
Gets component that is reflected by current QuickToolstripReflectable.
Declaration
public Component ReflectedComponent { get; }
Property Value
Type |
---|
System.ComponentModel.Component |
ReflectedToolStrip
Gets or sets reflected toolstrip.
Declaration
public ToolStripEx ReflectedToolStrip { get; set; }
Property Value
Type |
---|
ToolStripEx |
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
GetItemToReflect(Component)
Gets the item which needs to reflected.
Declaration
public static ToolStripItem GetItemToReflect(Component comp)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.Component | comp | The instance of the component. |
Returns
Type |
---|
System.Windows.Forms.ToolStripItem |
GetItemToReflect(Component, Boolean)
Creates an item able to reflect given component.
Declaration
public static ToolStripItem GetItemToReflect(Component comp, bool bExactCopy)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.Component | comp | Component that should be reflected. |
System.Boolean | bExactCopy |
Returns
Type | Description |
---|---|
System.Windows.Forms.ToolStripItem | ToolStripItem reflecting given component or null if it can't be created because of actual type of component. |
OnDropDownShow(EventArgs)
Declaration
protected override void OnDropDownShow(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | 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 for all required components. |
Returns
Type |
---|
System.Boolean |
Reset()
Update properties from reflected toolstrip.
Declaration
public void Reset()