W3Schools
home HOME Tutorials | References | Examples | Forum | About
Search W3Schools :

ASP.NET Tutorial
.NET HOME
.NET Intro
.NET vs ASP
.NET Install
.NET Pages
.NET Controls
.NET Events

ASP.NET Forms
.NET Forms
.NET ViewState
asp:TextBox
asp:Button

ASP.NET Binding
Data Binding
ArrayList
Hashtable
SortedList
XML Files
asp:Repeater
asp:DataList

ASP.NET Database
.NET DB Connection

ASP.NET 2.0
2.0 New Features
2.0 Master Pages
2.0 Navigation

References
HTML Controls
Web Controls
Validation Controls

Examples
ASP.NET Examples

Selected Reading
Web Statistics
Web Glossary
Web Hosting
Web Quality

W3Schools Tutorials
W3Schools Forum

Helping W3Schools

ASP.NET Style Control


Web Control Reference Complete Web Control Reference

Definition and Usage

The Style control is used to set the style of a web control.


Properties

Property Description .NET
BackColor The background color of the control 1.0
BorderColor The border color of the control 1.0
BorderStyle The border style of the control 1.0
BorderWidth The border width of the control 1.0
CssClass The CSS class rendered by the control on the client 1.0
Font The font properties of the control 1.0
ForeColor The foreground color (typically the color of the text) of the control 1.0
Height The height of the control 1.0
RegisteredCssClass The CSS class that is registered with the control 2.0
Width The width of the control 1.0


Web Control Reference Complete Web Control Reference



Jump to: Top of Page or HOME or Printer Friendly Printer friendly page

W3Schools provides material for training only. We do not warrant the correctness of its contents. The risk from using it lies entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.

Copyright 1999-2008 by Refsnes Data. All Rights Reserved.

Validate Validate W3C-WAI level A conformance icon W3Schools was converted to XHTML in December 1999