Class GridFillRectangleHookEventArgs
Provides data for the FillRectangleHook event which occurs before BrushPaint.FillRectangle is called to fill the interior of a rectangle using BrushInfo information.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public sealed class GridFillRectangleHookEventArgs : SyncfusionCancelEventArgs
Constructors
GridFillRectangleHookEventArgs(Graphics, RectangleF, BrushInfo)
Initializes the new instances for the GridFillRectangleHookEventArgs class.
Declaration
public GridFillRectangleHookEventArgs(Graphics graphics, RectangleF bounds, BrushInfo brush)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | graphics | A System.Drawing.Graphics context. |
System.Drawing.RectangleF | bounds | System.Drawing.RectangleF structure that represents the rectangle to fill. |
BrushInfo | brush | BrushInfo object that determines the characteristics of the fill. |
Properties
Bounds
Gets or sets System.Drawing.RectangleF structure that represents the rectangle to fill.
Declaration
[TraceProperty(true)]
public RectangleF Bounds { get; set; }
Property Value
Type |
---|
System.Drawing.RectangleF |
Brush
Gets or sets BrushInfo object that determines the characteristics of the fill.
Declaration
[TraceProperty(true)]
public BrushInfo Brush { get; set; }
Property Value
Type |
---|
BrushInfo |
ClipBounds
Gets the clipping bounds
Declaration
public RectangleF ClipBounds { get; }
Property Value
Type |
---|
System.Drawing.RectangleF |
Graphics
Gets or sets a System.Drawing.Graphics context.
Declaration
[TraceProperty(true)]
public Graphics Graphics { get; set; }
Property Value
Type |
---|
System.Drawing.Graphics |