Class DrawFreezePaneLineArgs
Provides data about the DrawFreezePaneLine event.
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid.Events
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public sealed class DrawFreezePaneLineArgs : GridEventArgs
Constructors
DrawFreezePaneLineArgs(Graphics, Point, Point, LineType, Boolean, Object)
Initializes a new instance of the DrawFreezePaneLineArgs class. Provides data for the DrawFreezePaneLine event.
Declaration
public DrawFreezePaneLineArgs(Graphics graphics, Point point1, Point point2, LineType lineType, bool handled, object originalSender)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | graphics | Gets the graphics used to paint. |
System.Drawing.Point | point1 | Gets the start point of freeze pane line.Gets the end of freeze pane line. |
System.Drawing.Point | point2 | Gets the end of freeze pane line. |
LineType | lineType | Gets whether freeze pane line is for frozen row or footer row or frozen column or footer columns. |
System.Boolean | handled | Gets whether event handled to manual drawing,If event handled, default line drawing won’t happen. |
System.Object | originalSender | The source of the event. |
Properties
Graphics
Gets the graphics used to paint.
Declaration
public Graphics Graphics { get; }
Property Value
Type |
---|
System.Drawing.Graphics |
Handled
Gets or sets a value indicating whether event handled to manual drawing. If event handled, default line drawing won’t happen.
Declaration
public bool Handled { get; set; }
Property Value
Type |
---|
System.Boolean |
LineType
Gets whether freeze pane line is for frozen row or footer row or frozen column or footer columns.
Declaration
public LineType LineType { get; }
Property Value
Type |
---|
LineType |
Point1
Gets the start point of freeze pane line.
Declaration
public Point Point1 { get; }
Property Value
Type |
---|
System.Drawing.Point |
Point2
Gets the end of freeze pane line.
Declaration
public Point Point2 { get; }
Property Value
Type |
---|
System.Drawing.Point |