WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface INonClientPaintingSupport - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface INonClientPaintingSupport

    Namespace: Syncfusion.Drawing
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public interface INonClientPaintingSupport

    Methods

    NonClientPaint(PaintEventArgs, Rectangle, Rectangle)

    Implement this method and draw your NonClient area using the passed in parameters.

    Declaration
    IntPtr NonClientPaint(PaintEventArgs e, Rectangle displayRect, Rectangle windowRectInScreen)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e

    The PaintEventArgs using this to draw the non client area.

    System.Drawing.Rectangle displayRect

    The control's window bounds into which to draw. Left and Top are usually zero.

    System.Drawing.Rectangle windowRectInScreen

    The control's bounds in screen co-ordinates.

    Returns
    Type Description
    System.IntPtr

    HRgn (as IntPtr) that excludes the region you just drew in the displayRect.

    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved