How to change the sytem highlight color in a windows form in c#? -
is there way change "default windows system blue" highlight color in controls in windows form?
including textbox, datetimepicker , of them.
thank you.
edit highlight color when user select text inside control, normaly it's blue. can't change system highlight color , don't want to. i'm interested on 3 controls: textbox, datetimepicker , numericupdown.
by controls i'll assume mean of them have highlight color... use selectioncolor property of highlight-able controls.
for example, can used this:
richtextbox.selectioncolor = color.aqua; this set highlight color of richtextbox aqua. if wanted controls highlighted... have override drawing , force them redraw while mouse clicked , dragged on area reside.
Comments
Post a Comment