473,394 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

VB.NET desktop equivalent to asp.net stylesheets

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
Nov 27 '07 #1
9 1662

<z7********@gmail.comwrote in message
news:5c**********************************@d21g2000 prf.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

Nov 28 '07 #2

<z7********@gmail.comwrote in message
news:5c**********************************@d21g2000 prf.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.

Nov 28 '07 #3
On Nov 27, 6:02 pm, "Lloyd Sheen" <a...@b.cwrote:
<z71mdri...@gmail.comwrote in message

news:5c**********************************@d21g2000 prf.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?
Nov 28 '07 #4
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
Nov 28 '07 #5

"z71mdridin" <z7********@gmail.comwrote in message
news:28**********************************@r60g2000 hsc.googlegroups.com...
On Nov 27, 6:02 pm, "Lloyd Sheen" <a...@b.cwrote:
><z71mdri...@gmail.comwrote in message

news:5c**********************************@d21g200 0prf.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

Nov 28 '07 #6
"Lloyd Sheen" <a@b.cwrote in news:e7**************@TK2MSFTNGP02.phx.gbl:
>
<z7********@gmail.comwrote in message
news:5c**********************************@d21g2000 prf.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.
Nov 28 '07 #7
On Nov 27, 10:30 pm, Spam Catcher <spamhoney...@rogers.comwrote:
"Lloyd Sheen" <a...@b.cwrote innews:e7**************@TK2MSFTNGP02.phx.gbl:
<z71mdri...@gmail.comwrote in message
news:5c**********************************@d21g2000 prf.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?
Nov 28 '07 #8
On 28 Nov., 01:29, Tom Shelton <tom_shel...@comcast.netwrote:
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/>
Nov 28 '07 #9
z71mdridin <z7********@gmail.comwrote in
news:55**********************************@y43g2000 hsy.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.
Nov 28 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: The Plankmeister | last post by:
Hi... What's an equivalent of doing: <center>hello!</center> in 4.01 strict? I'm using stylesheets and am telling the various selectors I want to be centred to "text-align : center;" but...
2
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: once a week Last-modified: 2004-07-26 Version: 2.00 URL: <http://css.nu/faq/ciwas-mFAQ.html> Maintainer: Jan Roland Eriksson...
0
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: once a week Last-modified: 2004-07-26 Version: 2.00 URL: <http://css.nu/faq/ciwas-mFAQ.html> Maintainer: Jan Roland Eriksson...
0
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: once a week Last-modified: 2004-07-26 Version: 2.00 URL: <http://css.nu/faq/ciwas-mFAQ.html> Maintainer: Jan Roland Eriksson...
383
by: John Bailo | last post by:
The war of the OSes was won a long time ago. Unix has always been, and will continue to be, the Server OS in the form of Linux. Microsoft struggled mightily to win that battle -- creating a...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.