Web Form Properties and Methods

You have seen briefly that a Web Form consists of two elements: the actual page (the .aspx file) and the code behind it (the .aspx.vb file, also known as the code-behind-the-page class).

The actual page properties can be seen in the visual property editor, after clicking anywhere on the page. Some of the most used ones are summarized here:

  • aLink— The color of all active links (to other URLs) in the document

  • vLink— The color of visited links on the page

  • link— The color of unvisited links on the page

  • background— A picture tiled as a background for the page (if provided)

  • bgProperties— The properties of the picture (if any)

  • bgColor— Page background color

  • text— Page foreground (text) color

  • pageLayout— The model of the page ...

Get Visual Basic® .NET by Example 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.