O'Reilly logo

Visual Basic® .NET by Example by Bob Donald, Gabriel Oancea

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required