WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LineNumberPaintEventArgs - WindowsForms API Reference | Syncfusion BeforeLineNumberPaint event of the EditControl control. ">

    Show / Hide Table of Contents

    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.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    System.Drawing.RectangleF

    ForeColor

    Gets or sets the fore color of the current line.

    Declaration
    public Color ForeColor { get; set; }
    Property Value
    Type Description
    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 Description
    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 Description
    System.Boolean

    LineNumber

    Gets or sets the current line number to be drawn.

    Declaration
    public long LineNumber { get; set; }
    Property Value
    Type Description
    System.Int64

    LineNumbersAlignment

    Gets or sets the LineNumbersAlignment of the current line.

    Declaration
    public LineNumberAlignment LineNumbersAlignment { get; set; }
    Property Value
    Type Description
    LineNumberAlignment

    LineNumbersFont

    Gets or sets the font of the current line.

    Declaration
    public Font LineNumbersFont { get; set; }
    Property Value
    Type Description
    System.Drawing.Font
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved