The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
ADAdministrator Syncfusion Team April 28, 2005 09:10 PM UTC
Hi Jonathan,
you would have to handle the WM_NCPAINT message.
This is the code we use in ScrollControl.cs to draw that area:
private void WmNcPaint(ref Message msg)
{
if (this.HScroll && this.VScroll)
{
if(cachedRgn != IntPtr.Zero)
{
NativeMethods.DeleteObject(cachedRgn);
this.cachedRgn = IntPtr.Zero;
}
this.cachedRgn = DrawingUtils.NCPaintHelper(this, this, ref msg);
}
bool themed = this is IThemedControl && XPThemes.IsThemedOS && ((IThemedControl) this).ThemesEnabled;
if (themed && themedDrawing != null)
themedDrawing.DrawThemedBorderColor(this, ref msg);
base.WndProc(ref msg);
}
protected override void WndProc(ref Message msg)
{
switch (msg.Msg)
{
case NativeMethods.WM_NCPAINT:
this.WmNcPaint(ref msg);
break;
...
NCPaintHelper is a internal helper routine we use. You can look it up in the source code in Syncfusion.Shared\src\Drawing
Stefan
>Hi,
>
>Please, it is possible to change this background color ?:
>
>http://web.hebergement.com/~alphacon4/Syncfusion.jpg
>
>THX
>
>