WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridFillRectangleHookEventArgs - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    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.

    Inheritance
    System.Object
    SyncfusionCancelEventArgs
    GridFillRectangleHookEventArgs
    Inherited Members
    SyncfusionCancelEventArgs.ToString()
    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 Description
    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 Description
    BrushInfo

    ClipBounds

    Gets the clipping bounds

    Declaration
    public RectangleF ClipBounds { get; }
    Property Value
    Type Description
    System.Drawing.RectangleF

    Graphics

    Gets or sets a System.Drawing.Graphics context.

    Declaration
    [TraceProperty(true)]
    public Graphics Graphics { get; set; }
    Property Value
    Type Description
    System.Drawing.Graphics
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved