Web Form Formatting
When designing Web pages, you will need to consider how to give them a more pleasant and attractive look without eliminating their readability. There are two ways to do this in ASP.NET Forms—through formatting properties of the WebControl base class and through Cascading Style Sheets (CSS).
WebControl Strongly-Typed Properties
Web controls descend from the WebControl class, which contains various properties for display formatting. These properties are listed in Table 26.4.
Property | Description |
---|---|
AccessKey | Specifies a keyboard shortcut key to set focus to the WebControl. |
BackColor | Background color of the WebControl. |
BorderColor | Border color of the WebControl. |
BorderStyle | Border ... |
Get Delphi for .NET Developer’s Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.