c# - Is there any way to remove this white line next to a WinForms scrollbar? -


i've noticed scrollbar on system.windows.forms.panel appears have white line going down left-side of vertical scrollbar.

vertical scrollbar .

vertical scrollbar zoomed in .

the horizontal scrollbar has (the white line appears above it): horizontal scrollbar .

i've noticed devexpress.xtraeditors.xtrascrollablecontrol when it's got usewindowsxptheme set true, i'm guessing may system thing (as example, haven't tagged question devexpress tag).

i've noticed in visual studio 2015 options screen, has example of scrollbar white line (the 1 on left), , without (the 1 on right): vs2015 options .

my question is: there way remove white line scrollbar? if so, how? know may seem minor, it's noticeable enough annoying.

i've tagged question both vb.net , c# happy accept answers in either language.

you cannot unless use own custom controls scrolling. 3d highlight effect on scrollbar , scrollbar not have override property change style flat.

but here fancy custom scrollbars can use.

codeproject: scrolling panel

codeproject: cool scrollbar - scrollbar windows media player's

codeproject: how skin scrollbars panels, in c#

codeproject: replace window's internal scrollbar customdraw scrollbar control


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -