WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class NCPaintEventArgs - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class NCPaintEventArgs

    Provides data for the NCPaint event of an ScrollControl object.

    Inheritance
    System.Object
    NCPaintEventArgs
    Namespace: Syncfusion.Windows.Forms
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class NCPaintEventArgs : PaintEventArgs

    Constructors

    NCPaintEventArgs(Graphics, Rectangle, Rectangle, Rectangle, IntPtr)

    Initializes a new instance of the NCPaintEventArgs class.

    Declaration
    public NCPaintEventArgs(Graphics pGraphics, Rectangle pClipRegion, Rectangle pDisplay, Rectangle pWindowInScreen, IntPtr pPtrClipRegion)
    Parameters
    Type Name Description
    System.Drawing.Graphics pGraphics
    System.Drawing.Rectangle pClipRegion
    System.Drawing.Rectangle pDisplay
    System.Drawing.Rectangle pWindowInScreen
    System.IntPtr pPtrClipRegion

    Properties

    ClipRegion

    Gets or sets clipping region of an ScrollControl.

    Declaration
    public IntPtr ClipRegion { get; set; }
    Property Value
    Type Description
    System.IntPtr

    DisplayRectangle

    Gets or sets bounds an ScrollControl.

    Declaration
    public Rectangle DisplayRectangle { get; set; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    WindowInScreenRectangle

    Gets or sets bounds of an ScrollControl in screen coordinates.

    Declaration
    public Rectangle WindowInScreenRectangle { get; set; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    Methods

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved