WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DrawCommentIndicatorEventArgs - WindowsForms API Reference | Syncfusion DrawCommentIndicator event. ">

    Show / Hide Table of Contents

    Class DrawCommentIndicatorEventArgs

    Provides data for the DrawCommentIndicator event.

    Inheritance
    System.Object
    SyncfusionCancelEventArgs
    GridCellCancelEventArgs
    DrawCommentIndicatorEventArgs
    Inherited Members
    GridCellCancelEventArgs.RowIndex
    GridCellCancelEventArgs.ColIndex
    SyncfusionCancelEventArgs.ToString()
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public sealed class DrawCommentIndicatorEventArgs : GridCellCancelEventArgs

    Constructors

    DrawCommentIndicatorEventArgs(Graphics, Rectangle, Rectangle, GridStyleInfo, Int32, Int32)

    Initializes the new instances for the DrawCommentIndicatorEventArgs class.

    Declaration
    public DrawCommentIndicatorEventArgs(Graphics graphics, Rectangle cellBounds, Rectangle indicatorBounds, GridStyleInfo style, int rowIndex, int colIndex)
    Parameters
    Type Name Description
    System.Drawing.Graphics graphics

    The System.Drawing.Graphics object that is used to draw the comment indicator.

    System.Drawing.Rectangle cellBounds

    The rectangle region that is used to draw the polygon.

    System.Drawing.Rectangle indicatorBounds

    The brush color that used to fill the polygon.

    GridStyleInfo style

    The GridStyleInfo of the cell.

    System.Int32 rowIndex

    The row index of the cell.

    System.Int32 colIndex

    The column index of the cell.

    Properties

    CellBounds

    Gets the value of a cell bounds.

    Declaration
    public Rectangle CellBounds { get; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    Graphics

    Gets the System.Drawing.Graphics object that need to draw the comment indicator for the cell.

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

    IndicatorBounds

    Gets or sets the comment tip indicator bounds.

    Declaration
    public Rectangle IndicatorBounds { get; set; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    Style

    Gets the GridStyleInfo of the comment tip cell.

    Declaration
    public GridStyleInfo Style { get; }
    Property Value
    Type Description
    GridStyleInfo
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved