Class LineNumberPaintEventArgs
Provides data for the BeforeLineNumberPaint event of the EditControl control.
Inheritance
System.Object
System.EventArgs
LineNumberPaintEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Edit
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public class LineNumberPaintEventArgs : EventArgs
Constructors
LineNumberPaintEventArgs(Graphics, Int64, Font, Color, LineNumberAlignment, RectangleF, Boolean)
Initializes a new instance of the LineNumberPaintEventArgs class.
Declaration
public LineNumberPaintEventArgs(Graphics g, long lineNumber, Font lineNumbersFont, Color foreColor, LineNumberAlignment lineNumbersAlignment, RectangleF bounds, bool handled)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | |
System.Int64 | lineNumber | |
System.Drawing.Font | lineNumbersFont | |
System.Drawing.Color | foreColor | |
LineNumberAlignment | lineNumbersAlignment | |
System.Drawing.RectangleF | bounds | |
System.Boolean | handled |
Properties
Bounds
Gets or sets the bounds of the current line rectangle.
Declaration
public RectangleF Bounds { get; set; }
Property Value
Type |
---|
System.Drawing.RectangleF |
ForeColor
Gets or sets the fore color of the current line.
Declaration
public Color ForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Graphics
Gets or sets the graphics object that are used for the drawing.
Declaration
public Graphics Graphics { get; set; }
Property Value
Type |
---|
System.Drawing.Graphics |
Handled
Gets or sets a value indicating whether the line number drawing is to be cancelled.
Declaration
public bool Handled { get; set; }
Property Value
Type |
---|
System.Boolean |
LineNumber
Gets or sets the current line number to be drawn.
Declaration
public long LineNumber { get; set; }
Property Value
Type |
---|
System.Int64 |
LineNumbersAlignment
Gets or sets the LineNumbersAlignment of the current line.
Declaration
public LineNumberAlignment LineNumbersAlignment { get; set; }
Property Value
Type |
---|
LineNumberAlignment |
LineNumbersFont
Gets or sets the font of the current line.
Declaration
public Font LineNumbersFont { get; set; }
Property Value
Type |
---|
System.Drawing.Font |