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. |