WinForms

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

    Show / Hide Table of Contents

    Class GridDataBoundRowExpandCellButton

    Defines a cell button element that looks like a + and - button for expanding and collapsing nodes in a tree. Typically used with GridDataBoundRowExpandCellRenderer.

    Inheritance
    System.Object
    NonFinalizeDisposable
    GridCellButton
    GridDataBoundRowExpandCellButton
    Implements
    System.IDisposable
    Inherited Members
    GridCellButton.Dispose(Boolean)
    GridCellButton.DrawMetroButtonStyle(Graphics, Rectangle, ButtonState, String, Boolean)
    GridCellButton.DrawButton(Graphics, Rectangle, ButtonState, GridStyleInfo)
    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 GridDataBoundRowExpandCellButton : GridCellButton, IDisposable

    Constructors

    GridDataBoundRowExpandCellButton(GridCellRendererBase)

    Initializes a GridDataBoundRowExpandCellButton and associates it with a GridCellRendererBase.

    Declaration
    public GridDataBoundRowExpandCellButton(GridCellRendererBase control)
    Parameters
    Type Name Description
    GridCellRendererBase control

    The GridCellRendererBase that draws this cell button element.

    Methods

    Draw(Graphics, Int32, Int32, Boolean, GridStyleInfo)

    Draws the cell button element at the specified row and column index.

    Declaration
    public override void Draw(Graphics g, int rowIndex, int colIndex, bool bActive, GridStyleInfo style)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    The System.Drawing.Graphics context of the canvas.

    System.Int32 rowIndex

    The row index.

    System.Int32 colIndex

    The column index.

    System.Boolean bActive

    True if this is the active current cell; False otherwise.

    GridStyleInfo style

    The GridStyleInfo object that holds cell information.

    Overrides
    GridCellButton.Draw(Graphics, Int32, Int32, Boolean, GridStyleInfo)

    Implements

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