WinForms

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

    Show / Hide Table of Contents

    Class QuickRadioButtonReflectable

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

    Inheritance
    System.Object
    ToolStripRadioButton
    QuickRadioButtonReflectable
    Implements
    IQuickItem
    Inherited Members
    ToolStripRadioButton.Finalize()
    ToolStripRadioButton.OnRightToLeftChanged(EventArgs)
    ToolStripRadioButton.OnPaint(PaintEventArgs)
    ToolStripRadioButton.OnOwnerChanged(EventArgs)
    ToolStripRadioButton.GetButtonBackgroundRect(ToolStripItem, Rectangle)
    ToolStripRadioButton.BackgroundImage
    ToolStripRadioButton.BackgroundImageLayout
    ToolStripRadioButton.BackColor
    ToolStripRadioButton.CheckAlign
    ToolStripRadioButton.Checked
    ToolStripRadioButton.CheckState
    ToolStripRadioButton.CheckOnClick
    ToolStripRadioButton.DisplayStyle
    ToolStripRadioButton.ForeColor
    ToolStripRadioButton.Font
    ToolStripRadioButton.Image
    ToolStripRadioButton.ImageAlign
    ToolStripRadioButton.ImageScaling
    ToolStripRadioButton.ImageTransparentColor
    ToolStripRadioButton.RightToLeftAutoMirrorImage
    ToolStripRadioButton.TextDirection
    ToolStripRadioButton.TextImageRelation
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class QuickRadioButtonReflectable : ToolStripRadioButton, IQuickItem

    Constructors

    QuickRadioButtonReflectable()

    Creates new instance of QuickRadioButtonReflectable.

    Declaration
    public QuickRadioButtonReflectable()

    QuickRadioButtonReflectable(ToolStripRadioButton)

    Creates and initializes new instance of QuickRadioButtonReflectable.

    Declaration
    public QuickRadioButtonReflectable(ToolStripRadioButton reflectedItem)
    Parameters
    Type Name Description
    ToolStripRadioButton reflectedItem

    ToolStripRadioButton to reflect.

    Properties

    Enabled

    Gets / Sets whether the QuickRadioButtonReflectable enabled or disabled.

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

    GroupID

    Gets / Sets the GroupID

    Declaration
    public override int GroupID { get; set; }
    Property Value
    Type Description
    System.Int32
    Overrides
    ToolStripRadioButton.GroupID

    ReflectedComponent

    Gets component that is reflected by current QuickRadioButtonReflectable.

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

    ReflectedRadioButton

    Gets or sets RadioButton that is reflected by current QuickRadioButtonReflectable.

    Declaration
    public ToolStripRadioButton ReflectedRadioButton { get; set; }
    Property Value
    Type Description
    ToolStripRadioButton

    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 Description
    System.Drawing.Size

    Methods

    CheckCurrentButton()

    Declaration
    protected override void CheckCurrentButton()
    Overrides
    ToolStripRadioButton.CheckCurrentButton()

    CheckCurrentUncheckedButton()

    Declaration
    protected override void CheckCurrentUncheckedButton()
    Overrides
    ToolStripRadioButton.CheckCurrentUncheckedButton()

    CheckRemainingUncheckedButtons()

    Declaration
    protected override void CheckRemainingUncheckedButtons()
    Overrides
    ToolStripRadioButton.CheckRemainingUncheckedButtons()

    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.

    Overrides
    ToolStripRadioButton.GetPreferredSize(Size)

    OnClick(EventArgs)

    Redirects mouse click to reflected button.

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

    OnLayout(LayoutEventArgs)

    To update size of the RadioButton in higher scaling

    Declaration
    protected override void OnLayout(LayoutEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.LayoutEventArgs e
    Overrides
    ToolStripRadioButton.OnLayout(LayoutEventArgs)

    OnMouseHover(EventArgs)

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

    Declaration
    public void Reset()

    Implements

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