menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class QuickSplitButtonReflectable - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class QuickSplitButtonReflectable

    Represents SplitButton able to reflect functionality of referenced tool strip SplitButton.

    Inheritance
    System.Object
    QuickSplitButtonReflectable
    Implements
    IQuickItem
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class QuickSplitButtonReflectable : ToolStripSplitButton, IQuickItem

    Constructors

    QuickSplitButtonReflectable()

    Creates new instance of QuickSplitButtonReflectable.

    Declaration
    public QuickSplitButtonReflectable()

    QuickSplitButtonReflectable(ToolStripSplitButton)

    Creates and initializes new instance of QuickSplitButtonReflectable.

    Declaration
    public QuickSplitButtonReflectable(ToolStripSplitButton reflectedItem)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripSplitButton reflectedItem

    ToolStripSplitButton to reflect.

    QuickSplitButtonReflectable(ToolStripSplitButton, Boolean)

    Creates and initializes new instance of QuickSplitButtonReflectable.

    Declaration
    public QuickSplitButtonReflectable(ToolStripSplitButton reflectedItem, bool bExactCopy)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripSplitButton reflectedItem

    ToolStripSplitButton to reflect.

    System.Boolean bExactCopy

    Properties

    Enabled

    Gets / Sets whether the QuickSplitButtonReflectable enabled or disabled.

    Declaration
    public override bool Enabled { get; set; }
    Property Value
    Type
    System.Boolean

    ReflectedComponent

    Gets component that is reflected by current QuickSplitButtonReflectable.

    Declaration
    public Component ReflectedComponent { get; }
    Property Value
    Type
    System.ComponentModel.Component

    ReflectedSplitButton

    Gets or sets SplitButton that is reflected by current QuickSplitButtonReflectable.

    Declaration
    public ToolStripSplitButton ReflectedSplitButton { get; set; }
    Property Value
    Type
    System.Windows.Forms.ToolStripSplitButton

    RightToLeft

    Gets or sets a value indicating whether items are to be placed from right to left and text is to be written from right to left.

    Declaration
    public override RightToLeft RightToLeft { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.RightToLeft

    true if items are to be placed from right to left and text is to be written from right to left; otherwise, false.

    Size

    Gets / Sets the size of the item. (Overrides)

    Declaration
    public override Size Size { get; set; }
    Property Value
    Type
    System.Drawing.Size

    Methods

    Dispose(Boolean)

    Prevents disposing of Reflected button's dropdown

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

    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.

    OnButtonClick(EventArgs)

    Redirects mouse click to reflected button.

    Declaration
    protected override void OnButtonClick(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnClick(EventArgs)

    Declaration
    protected override void OnClick(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnLayout(LayoutEventArgs)

    To update size of the SplitButton in higher 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

    OnOwnerChanged(EventArgs)

    Detaches reflected button's dropdown if item was removed

    Declaration
    protected override void OnOwnerChanged(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 button

    Declaration
    public void Reset()

    Implements

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