Version

BaseStyle Class Members

The following tables list the members exposed by BaseStyle.

Public Properties
 NameDescription
Public PropertyBackColorGets or sets the background color of the Web server control. (Inherited from System.Web.UI.WebControls.Style)
Public PropertyBorderColorGets or sets the border color of the Web server control. (Inherited from System.Web.UI.WebControls.Style)
Public PropertyBorderStyleGets or sets the border style of the Web server control. (Inherited from System.Web.UI.WebControls.Style)
Public PropertyBorderWidthGets or sets the border width of the Web server control. (Inherited from System.Web.UI.WebControls.Style)
Public PropertyContainer (Inherited from System.ComponentModel.Component)
Public PropertyCssClassGets or sets the cascading style sheet (CSS) class rendered by the Web server control on the client. (Inherited from System.Web.UI.WebControls.Style)
Public PropertyFontGets the font properties associated with the Web server control. (Inherited from System.Web.UI.WebControls.Style)
Public PropertyForeColorGets or sets the foreground color (typically the color of the text) of the Web server control. (Inherited from System.Web.UI.WebControls.Style)
Public PropertyHeightGets or sets the height of the Web server control. (Inherited from System.Web.UI.WebControls.Style)
Public PropertyIsEmptyChecks if any property has value. It returns true if base.IsEmpty is false.  
Public PropertyRegisteredCssClassGets the cascading style sheet (CSS) class that is registered with the control. (Inherited from System.Web.UI.WebControls.Style)
Public PropertySite (Inherited from System.ComponentModel.Component)
Public PropertyWidthGets or sets the width of the Web server control. (Inherited from System.Web.UI.WebControls.Style)
Protected Properties
 NameDescription
Protected PropertyCanRaiseEvents (Inherited from System.ComponentModel.Component)
Protected PropertyDesignMode (Inherited from System.ComponentModel.Component)
Protected PropertyEvents (Inherited from System.ComponentModel.Component)
Protected PropertyIsTrackingViewStateReturns a value indicating whether any style elements have been defined in the state bag. (Inherited from System.Web.UI.WebControls.Style)
Public Methods
 NameDescription
Public MethodAddAttributesToRenderOverloaded. Adds HTML attributes and styles that need to be rendered to the specified System.Web.UI.HtmlTextWriter. This method is primarily used by control developers. (Inherited from System.Web.UI.WebControls.Style)
Public MethodClearSets all style properties to "non-set" equivalents. Resets the properties of the style.  
Public MethodCopyFromDuplicates the style properties of the specified System.Web.UI.WebControls.Style into the instance of the System.Web.UI.WebControls.Style class that this method is called from. (Inherited from System.Web.UI.WebControls.Style)
Public MethodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public MethodDisposeOverloaded.  (Inherited from System.ComponentModel.Component)
Public MethodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodGetStyleAttributesRetrieves the System.Web.UI.CssStyleCollection object for the specified System.Web.UI.IUrlResolutionService-implemented object. (Inherited from System.Web.UI.WebControls.Style)
Public MethodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodMergeWithCombines the style properties of the specified System.Web.UI.WebControls.Style with the instance of the System.Web.UI.WebControls.Style class that this method is called from. (Inherited from System.Web.UI.WebControls.Style)
Public MethodResetRemoves any defined style elements from the state bag. (Inherited from System.Web.UI.WebControls.Style)
Public MethodSetDirtyMarks the System.Web.UI.WebControls.Style so that its state will be recorded in view state. (Inherited from System.Web.UI.WebControls.Style)
Public MethodToStringString formatted for visual designer.  
Protected Methods
 NameDescription
Protected MethodFillStyleAttributesAdds the specified object's style properties to a System.Web.UI.CssStyleCollection object. (Inherited from System.Web.UI.WebControls.Style)
Protected MethodFinalize (Inherited from System.ComponentModel.Component)
Protected MethodGetService (Inherited from System.ComponentModel.Component)
Protected MethodMemberwiseCloneOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
Public Events
 NameDescription
Public EventDisposed (Inherited from System.ComponentModel.Component)
See Also