WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GraphicsEventArgs

    Show / Hide Table of Contents

    Class GraphicsEventArgs

    Provides data for the PrepareGraphics event of a GraphicsProvider instance.

    Inheritance
    System.Object
    System.EventArgs
    SyncfusionEventArgs
    GraphicsEventArgs
    Inherited Members
    SyncfusionEventArgs.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.Drawing
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class GraphicsEventArgs : SyncfusionEventArgs
    Remarks

    The event lets you apply custom settings for the Graphics object, before other routines draw to the object.

    Constructors

    GraphicsEventArgs()

    Initializes a new empty GraphicsEventArgs.

    Declaration
    public GraphicsEventArgs()

    GraphicsEventArgs(Graphics)

    Initializes a new GraphicsEventArgs with a Graphics object.

    Declaration
    public GraphicsEventArgs(Graphics graphics)
    Parameters
    Type Name Description
    System.Drawing.Graphics graphics

    The graphics object.

    Fields

    Empty

    Declaration
    public static readonly GraphicsEventArgs Empty
    Field Value
    Type Description
    GraphicsEventArgs

    Properties

    Graphics

    Returns the window graphics object.

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