| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Style ClassSystem.Web.UI.WebControls Namespace Represents the style of a Web server control.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Visibility | Name | Parameters | Return Type |
|---|---|---|---|
| public | AddAttributesToRender | ( HtmlTextWriter writer , WebControl owner ) | Void |
| public | AddAttributesToRender | ( HtmlTextWriter writer ) | Void |
| public | CopyFrom | ( Style s ) | Void |
| protected | FillStyleAttributes | ( CssStyleCollection attributes , IUrlResolutionService urlResolver ) | Void |
| public | GetStyleAttributes | ( IUrlResolutionService urlResolver ) | CssStyleCollection |
| public | MergeWith | ( Style s ) | Void |
| public | Reset | ( ) | Void |
| public | SetDirty | ( ) | Void |
The Style class encapsulates the properties that control the appearance of a Web server control and can be applied to multiple Web server controls to provide a common appearance.
You can specify the background color and font color of a control by setting the BackColor and ForeColor properties, respectively. On controls that can display a border, you can control the border width, the border style, and the border color by setting the BorderWidth, BorderStyle, and BorderColor properties. The size of a Web server control can also be specified by using the Height and Width properties.
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme