Class DrawCommentIndicatorEventArgs
Provides data for the DrawCommentIndicator event.
Inheritance
System.Object
DrawCommentIndicatorEventArgs
Inherited Members
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 |
---|
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 |
---|
System.Drawing.Graphics |
IndicatorBounds
Gets or sets the comment tip indicator bounds.
Declaration
public Rectangle IndicatorBounds { get; set; }
Property Value
Type |
---|
System.Drawing.Rectangle |
Style
Gets the GridStyleInfo of the comment tip cell.
Declaration
public GridStyleInfo Style { get; }
Property Value
Type |
---|
GridStyleInfo |