Home All Groups Group Topic Archive Search About

VB.NET desktop equivalent to asp.net stylesheets

Author
27 Nov 2007 11:14 PM
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

Author
28 Nov 2007 12:02 AM
Lloyd Sheen
<z71mdri***@gmail.com> wrote in message
news:5c596f52-a04c-44eb-9859-fee979be3101@d21g2000prf.googlegroups.com...
> 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
Are all your drivers up to date? click for free checkup

Author
28 Nov 2007 12:28 AM
z71mdridin
Show quote Hide quote
On Nov 27, 6:02 pm, "Lloyd Sheen" <a...@b.c> wrote:
> <z71mdri***@gmail.com> wrote in message
>
> news:5c596f52-a04c-44eb-9859-fee979be3101@d21g2000prf.googlegroups.com...
>
> > 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

Desktop .NET applications can use css stylesheets?
Author
28 Nov 2007 1:15 AM
Lloyd Sheen
Show quote Hide quote
"z71mdridin" <z71mdri***@gmail.com> wrote in message
news:280c183a-87bf-4297-911b-04abc488514d@r60g2000hsc.googlegroups.com...
> On Nov 27, 6:02 pm, "Lloyd Sheen" <a...@b.c> wrote:
>> <z71mdri***@gmail.com> wrote in message
>>
>> news:5c596f52-a04c-44eb-9859-fee979be3101@d21g2000prf.googlegroups.com...
>>
>> > 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
>
> Desktop .NET applications can use css stylesheets?

Sorry thought this was aps group.  My bad.

LS
Author
28 Nov 2007 3:30 AM
Spam Catcher
"Lloyd Sheen" <a@b.c> wrote in news:e7LNcIVMIHA.1296@TK2MSFTNGP02.phx.gbl:

>
> <z71mdri***@gmail.com> wrote in message
> news:5c596f52-a04c-44eb-9859-fee979be3101@d21g2000prf.googlegroups.com...
>> 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.

Infragistics has a Winforms skinning tool called AppStyler.
Author
28 Nov 2007 2:01 PM
z71mdridin
On Nov 27, 10:30 pm, Spam Catcher <spamhoney...@rogers.com> wrote:
Show quoteHide quote
> "Lloyd Sheen" <a...@b.c> wrote innews:e7LNcIVMIHA.1***@TK2MSFTNGP02.phx.gbl:
>
>
>
> > <z71mdri***@gmail.com> wrote in message
> >news:5c596f52-a04c-44eb-9859-fee979be3101@d21g2000prf.googlegroups.com...
> >> 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.
>
> 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?
Author
28 Nov 2007 9:11 PM
Spam Catcher
z71mdridin <z71mdri***@gmail.com> wrote in
news:55913614-99ad-425b-b71f-14c828006fd4@y43g2000hsy.googlegroups.com:

> 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.
Author
28 Nov 2007 12:03 AM
Mr. Arnold
<z71mdri***@gmail.com> wrote in message
news:5c596f52-a04c-44eb-9859-fee979be3101@d21g2000prf.googlegroups.com...
> 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.
Author
28 Nov 2007 12:29 AM
Tom Shelton
On Nov 27, 4:14 pm, z71mdri***@gmail.com wrote:
> 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.

--
Tom Shelton
Author
28 Nov 2007 3:03 PM
Herfried K. Wagner [MVP]
On 28 Nov., 01:29, Tom Shelton <tom_shel***@comcast.net> wrote:
> > 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.

Some additional information on styles and WPF:

Styling and Templating
<URL:http://msdn2.microsoft.com/en-us/library/ms745683.aspx>

A Guided Tour of WPF - Part 5 (Styles)
<URL:http://www.codeproject.com/WPF/GuidedTourWPF_5.asp>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Bookmark and Share

Post Thread options