June 2002
Intermediate to advanced
816 pages
28h 12m
English
Style
This class represents style attributes that can be applied to a portion of the user interface on a web page. This
class is not used by web controls or HTML controls, which allow programmatic access
to style attributes through a System.Web.UI.CssStyleCollection
object provided through their own Style property. Instead, the Style class is used as a base class for
the TableStyle and TableItemStyle classes.
Public Class Style : Inherits System.ComponentModel.Component : Implements_ System.Web.UI.IStateManager ' Public Constructors Public Sub New() Public Sub New(ByVal bag As System.Web.UI.StateBag) ' Public Instance Properties Public Property BackColor As Color Public Property BorderColor As Color Public Property BorderStyle As BorderStyle Public Property BorderWidth As Unit Public Property CssClass As String Public ReadOnly Property Font As FontInfo Public Property ForeColor As Color Public Property Height As Unit Public Property Width As Unit ' Protected Instance Properties Overridable Protected Friend Property IsEmpty As Boolean Protected Property IsTrackingViewState As Boolean Implements IStateManager.IsTrackingViewState Protected Friend Property ViewState As StateBag ' Public Instance Methods Public Sub AddAttributesToRender( ByVal writer As System.Web.UI.HtmlTextWriter) Overridable Public Sub AddAttributesToRender( ByVal writer As System.Web.UI.HtmlTextWriter, ByVal owner As WebControl) Overridable Public Sub CopyFrom(ByVal s As Style) Overridable Public Sub ...
Read now
Unlock full access