WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class QuickToolstripReflectable

    Show / Hide Table of Contents

    Class QuickToolstripReflectable

    Represents dropdown button situated in quick items panel and reflecting existing toolstrip.

    Inheritance
    System.Object
    CustomDropDownButtonBase
    QuickToolstripReflectable
    Implements
    IQuickItem
    Inherited Members
    CustomDropDownButtonBase.Panel
    CustomDropDownButtonBase.HasDropDownItems
    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 Description
    System.ComponentModel.Component

    ReflectedToolStrip

    Gets or sets reflected toolstrip.

    Declaration
    public ToolStripEx ReflectedToolStrip { get; set; }
    Property Value
    Type Description
    ToolStripEx

    Methods

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    Overrides
    CustomDropDownButtonBase.Dispose(Boolean)

    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 Description
    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 Description
    System.Boolean

    Reset()

    Update properties from reflected toolstrip.

    Declaration
    public void Reset()

    Implements

    IQuickItem
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved