menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridRadioButton - API Reference

    Show / Hide Table of Contents

    Class GridRadioButton

    Defines the cell radio button of a GridRadioButtonCellRenderer.

    Inheritance
    System.Object
    NonFinalizeDisposable
    GridCellButton
    GridRadioButton
    Implements
    System.IDisposable
    Inherited Members
    GridCellButton.Draw(Graphics, Int32, Int32, Boolean, GridStyleInfo)
    GridCellButton.DrawMetroButtonStyle(Graphics, Rectangle, ButtonState, String, Boolean)
    GridCellButton.IsHovering(Int32, Int32)
    GridCellButton.SetHovering(GridCellHitTestInfo, Boolean)
    GridCellButton.IsMouseDown(Int32, Int32)
    GridCellButton.SetMouseDown(GridCellHitTestInfo, Boolean)
    GridCellButton.IsPushed(Int32, Int32)
    GridCellButton.SetPushed(Int32, Int32, Rectangle, Boolean)
    GridCellButton.HitTest(Int32, Int32, MouseEventArgs, IMouseController)
    GridCellButton.MouseHoverEnter(GridCellHitTestInfo)
    GridCellButton.MouseHover(MouseEventArgs, GridCellHitTestInfo)
    GridCellButton.MouseHoverLeave(EventArgs, GridCellHitTestInfo)
    GridCellButton.MouseDown(MouseEventArgs, GridCellHitTestInfo)
    GridCellButton.MouseMove(MouseEventArgs, GridCellHitTestInfo)
    GridCellButton.MouseUp(MouseEventArgs, GridCellHitTestInfo)
    GridCellButton.GetCursor(GridCellHitTestInfo)
    GridCellButton.CancelMode(GridCellHitTestInfo)
    GridCellButton.OnClicked(GridCellEventArgs)
    GridCellButton.OnHoveringChanged(GridCellEventArgs)
    GridCellButton.OnMouseDownChanged(GridCellEventArgs)
    GridCellButton.OnPushedChanged(GridCellEventArgs)
    GridCellButton.Bounds
    GridCellButton.Text
    GridCellButton.MouseDownInfo
    GridCellButton.Grid
    GridCellButton.Owner
    GridCellButton.FireClickOnMouseUp
    GridCellButton.Clicked
    GridCellButton.HoveringChanged
    GridCellButton.MouseDownChanged
    GridCellButton.PushedChanged
    NonFinalizeDisposable.Dispose()
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class GridRadioButton : GridCellButton, IDisposable
    Remarks

    This button is XP Themes enabled. It will be drawn themed if ThemesEnabled is True and the GridStyleInfo.ThemesEnabled is True for the cell.

    Constructors

    GridRadioButton(GridCellRendererBase, Int32)

    Initializes a new GridRadioButton.

    Declaration
    public GridRadioButton(GridCellRendererBase renderer, int index)
    Parameters
    Type Name Description
    GridCellRendererBase renderer

    The GridRadioButtonCellRenderer object which owns this button.

    System.Int32 index

    The button's index in the collection of radio buttons for this cell.

    Fields

    RADIOBUTTONWIDTH

    Width of the radio button.

    Declaration
    public static int RADIOBUTTONWIDTH
    Field Value
    Type Description
    System.Int32

    Properties

    Enabled

    Gets or sets a value indicating whether the button is enabled.

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

    Methods

    Dispose(Boolean)

    Which calls the base class dispose method.

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

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    Overrides
    GridCellButton.Dispose(Boolean)

    DrawButton(Graphics, Rectangle, ButtonState, GridStyleInfo)

    Draws a button using System.Windows.Forms.ControlPaint.DrawButton(System.Drawing.Graphics,System.Drawing.Rectangle,System.Windows.Forms.ButtonState) or if XP Themes are enabled, button will be drawn themed.

    Declaration
    public override void DrawButton(Graphics g, Rectangle rect, ButtonState buttonState, GridStyleInfo style)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    The System.Drawing.Graphics context of the canvas.

    System.Drawing.Rectangle rect

    The System.Drawing.Rectangle with the bounds.

    System.Windows.Forms.ButtonState buttonState

    A System.Windows.Forms.ButtonState that specifies the current state.

    GridStyleInfo style

    The style information for the cell.

    Overrides
    GridCellButton.DrawButton(Graphics, Rectangle, ButtonState, GridStyleInfo)

    Implements

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