Class EnhancedUpDownButton
Defines a numeric up down button element for FNumericUpDown cell renderer.
Inheritance
System.Object
EnhancedUpDownButton
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.GridHelperClasses
Assembly: Syncfusion.GridHelperClasses.Windows.dll
Syntax
public class EnhancedUpDownButton : GridCellUpDownButton, IDisposable
Constructors
EnhancedUpDownButton(GridCellRendererBase, ScrollButton)
Initializes a new instance of the EnhancedUpDownButton class and associates it with a GridCellRendererBase and saves the System.Windows.Forms.ScrollButton type.
Declaration
public EnhancedUpDownButton(GridCellRendererBase control, ScrollButton button)
Parameters
Type | Name | Description |
---|---|---|
GridCellRendererBase | control | The GridCellRendererBase that manages the GridCellButton. |
System.Windows.Forms.ScrollButton | button | The System.Windows.Forms.ScrollButton type of this button. Up or down. |
Methods
DrawButton(Graphics, Rectangle, ButtonState, GridStyleInfo)
Draws the button at the specified row index and column index.
Declaration
public override void DrawButton(Graphics g, Rectangle rect, ButtonState buttonState, GridStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | Graphics context. |
System.Drawing.Rectangle | rect | Button rectangle. |
System.Windows.Forms.ButtonState | buttonState | Button state. |
GridStyleInfo | style | Cell style information. |
Overrides
Implements
System.IDisposable