menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BookmarkPaintEventArgs - API Reference

    Show / Hide Table of Contents

    Class BookmarkPaintEventArgs

    Provides data for the Syncfusion.Windows.Forms.Edit.Utils.CustomBookmark.DrawBookmark event and contains all information needed for rendering and controlling the drawing process.

    Inheritance
    System.Object
    BookmarkPaintEventArgs
    Namespace: Syncfusion.Windows.Forms.Edit
    Assembly: Syncfusion.Edit.Windows.dll
    Syntax
    public class BookmarkPaintEventArgs : PaintEventArgs

    Constructors

    BookmarkPaintEventArgs(Graphics, Rectangle, Int32)

    Initializes a new instance of the BookmarkPaintEventArgs class.

    Declaration
    public BookmarkPaintEventArgs(Graphics g, Rectangle rc, int lineNumber)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    Graphics object used for rendering

    System.Drawing.Rectangle rc

    Destination rectangle

    System.Int32 lineNumber

    Number of line.

    BookmarkPaintEventArgs(PaintEventArgs, Int32)

    Initializes a new instance of the BookmarkPaintEventArgs class.

    Declaration
    public BookmarkPaintEventArgs(PaintEventArgs args, int lineNumber)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs args

    Event args to get info for new object from.

    System.Int32 lineNumber

    Number of line.

    Properties

    LineNumber

    Gets the line number in the EditControl.

    Declaration
    public int LineNumber { get; }
    Property Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved