VB.NET desktop equivalent to asp.net stylesheets

  • Thread starter Thread starter z71mdridin
  • Start date Start date
Z

z71mdridin

This might be a very basic question. Is there an equivalent to
stylesheets in vb.net desktop applications? Specifically is there a
way to change control properties(color, height, width) for all
controls(buttons, textboxes) in a desktop app? Is there a centralized
place to control this? Any help is appreciated! Thanks
 
This might be a very basic question. Is there an equivalent to
stylesheets in vb.net desktop applications? Specifically is there a
way to change control properties(color, height, width) for all
controls(buttons, textboxes) in a desktop app? Is there a centralized
place to control this? Any help is appreciated! Thanks

You can use stylesheets just like any HTML page.

LS
 
This might be a very basic question. Is there an equivalent to
stylesheets in vb.net desktop applications? Specifically is there a
way to change control properties(color, height, width) for all
controls(buttons, textboxes) in a desktop app? Is there a centralized
place to control this? Any help is appreciated! Thanks

You make a function, you walk the form looking for the Controls, and you
change the properties of the Controls.
 
This might be a very basic question. Is there an equivalent to
stylesheets in vb.net desktop applications? Specifically is there a
way to change control properties(color, height, width) for all
controls(buttons, textboxes) in a desktop app? Is there a centralized
place to control this? Any help is appreciated! Thanks

WPF allows this using styles.
 
Infragistics has a Winforms skinning tool called AppStyler.

So basically there is no way to control the looks of all buttons in
vb.net 1.1 app in a centralized location without the use of third
party software?
 
So basically there is no way to control the looks of all buttons in
vb.net 1.1 app in a centralized location without the use of third
party software?

If you don't change the buttons from the default, Windows Themes will
handle it. But since you want to do more, you'll need a third party
skinning tool.
 
Back
Top