Class SchemaCellButton
Represents a button which is specially designed for the schema cell.
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.Windows.Forms.PivotAnalysis
Assembly: Syncfusion.PivotAnalysis.Windows.dll
Syntax
public class SchemaCellButton : GridCellButton, IDisposable
Constructors
SchemaCellButton(GridCellRendererBase)
Initializes a new instance of the SchemaCellButton class with the specified GridCellRendererBase.
Declaration
public SchemaCellButton(GridCellRendererBase owner)
Parameters
Type | Name | Description |
---|---|---|
GridCellRendererBase | owner | The GridCellRendererBase that holds the schema cell button. |
Methods
DrawButton(Graphics, Rectangle, ButtonState, GridStyleInfo)
Draws the schema cell button with the specified values.
Declaration
public override void DrawButton(Graphics g, Rectangle rect, ButtonState buttonState, GridStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | Represents GDI+ surface |
System.Drawing.Rectangle | rect | Represents the location and size of the rectangle. |
System.Windows.Forms.ButtonState | buttonState | Specifies the appearance of the button. |
GridStyleInfo | style | Holds the values for customizing the cell style. |
Overrides
DrawButtonStyle(Graphics, Rectangle, ButtonState, GridStyleInfo, Boolean)
Draws the schema cell button with the specified values.
Declaration
public virtual void DrawButtonStyle(Graphics g, Rectangle rect, ButtonState buttonState, GridStyleInfo style, bool isWhite)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | Represents GDI+ surface |
System.Drawing.Rectangle | rect | Represents the location and size of the rectangle. |
System.Windows.Forms.ButtonState | buttonState | Specifies the appearance of the button. |
GridStyleInfo | style | Holds the values for customizing the cell style. |
System.Boolean | isWhite | Represents that whether to set white color or not. |
Implements
System.IDisposable