Skip to main content
A newer version of this page is available. .
Tab

AppearanceStyleBase Methods

Serves as a base for classes that define appearance styles of different elements within web controls.
Name Description
AddAttributesToRender(HtmlTextWriter, WebControl) For internal use only.
AddAttributesToRender(HtmlTextWriter) Adds HTML attributes and styles that need to be rendered to the specified HtmlTextWriter. This method is primarily used by control developers. Inherited from Style.
Assign(AppearanceStyleBase) Copies the settings from the specified AppearanceStyleBase object to the current object.
AssignToControl(WebControl, AttributesRange, Boolean, Boolean, Boolean) For internal use only.
AssignToControl(WebControl, AttributesRange, Boolean, Boolean) For internal use only.
AssignToControl(WebControl, AttributesRange, Boolean) For internal use only.
AssignToControl(WebControl, AttributesRange) Copies the settings from the current AppearanceStyleBase object to the specified object.
AssignToControl(WebControl, Boolean) For internal use only.
AssignToControl(WebControl) Copies the settings from the current AppearanceStyleBase object to the specified object.
AssignToHyperLink(HyperLink, Boolean) For internal use only.
AssignToHyperLink(HyperLink) For internal use only.
AssignToHyperLink(WebControl, Boolean) For internal use only.
AssignWithoutBorders(AppearanceStyleBase) Copies all settings except for border settings from the specified AppearanceStyleBase object to the current object.
CopyBordersFrom(Style) Duplicates the border properties of the specified style object into the instance of the AppearanceStyleBase class that this method is called from.
CopyFontAndCursorFrom(Style) Duplicates the font and cursor setting of the specified style object into the instance of the AppearanceStyleBase class that this method is called from.
CopyFontFrom(Style) Duplicates the font properties of the specified style object into the instance of the AppearanceStyleBase class that this method is called from.
CopyFrom(Style, Boolean) Duplicates the properties of the specified object into the current instance of the AppearanceStyleBase class specifying whether border setting should be copied.
CopyFrom(Style) Duplicates the properties of the specified object into the current instance of the AppearanceStyleBase class.
CopyTextDecorationFrom(Style) Duplicates the text decoration properties of the specified object into the current instance of the AppearanceStyleBase class.
CreateObjRef(Type) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject.
Dispose() Releases all resources used by the Component. Inherited from Component.
Dispose(Boolean) protected Releases the unmanaged resources used by the Component and optionally releases the managed resources. Inherited from Component.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetBorderColorBottom() Returns the color of the bottom border.
GetBorderColorLeft() Returns the color of the left border.
GetBorderColorRight() Returns the color of the right border.
GetBorderColorTop() Returns the color of the top border.
GetBorderStyleBottom() Returns the style of the bottom border.
GetBorderStyleLeft() Returns the style of the left border.
GetBorderStyleRight() Returns the style of the right border.
GetBorderStyleTop() Returns the style of the top border.
GetBorderWidthBottom() Returns the width of the bottom border.
GetBorderWidthLeft() Returns the width of the left border.
GetBorderWidthRight() Returns the width of the right border.
GetBorderWidthTop() Returns the width of the top border.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetLifetimeService() Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetService(Type) protected Returns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetStyleAttributes(IUrlResolutionService) Retrieves the CssStyleCollection object for the specified IUrlResolutionService-implemented object. Inherited from Style.
GetType() Gets the Type of the current instance. Inherited from Object.
InitializeLifetimeService() Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
LoadViewState(Object) protected Loads the previously saved state. Inherited from Style.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
MergeBordersWith(Style) Combines the border properties of the specified Style with the current instance of the AppearanceStyleBase class.
MergeFontWith(Style) Combines the font properties of the specified Style with the current instance of the AppearanceStyleBase class.
MergeWith(Style) Combines the properties of the specified Style with the current instance of the AppearanceStyleBase class.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Returns the AppearanceStyleBase object to its original state.
SaveViewState() protected A protected method. Saves any state that has been modified after the TrackViewState() method was invoked. Inherited from Style.
SetBit(Int32) protected A protected internal method. Sets an internal bitmask field that indicates the style properties that are stored in the state bag. Inherited from Style.
SetDirty() Marks the Style so that its state will be recorded in view state. Inherited from Style.
ToString() Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.
TrackViewState() protected A protected method. Marks the beginning for tracking state changes on the control. Any changes made after tracking has begun will be tracked and saved as part of the control view state. Inherited from Style.
See Also