Back to Devexpress

AppearanceStyleBase Members

aspnet-devexpress-dot-web-dot-appearancestylebase-dot-underscore-members.md

latest22.0 KB
Original Source

AppearanceStyleBase Members

Serves as a base for classes that define appearance styles of different elements within web controls.

Constructors

NameDescription
AppearanceStyleBase()Initializes a new instance of the AppearanceStyleBase class.

Fields

NameDescription
DefaultOpacityFor internal use only.

Properties

NameDescription
BackColorGets or sets the background color of the Web server control. Inherited from Style.
BackgroundImageGets the background image defined by the current style.
BorderGets the border settings defined by the current style.
BorderBottomGets the settings of the bottom border.
BorderLeftGets the settings of the left border.
BorderRightGets the settings of the right border.
BorderTopGets the settings of the top border.
CanRaiseEvents protectedGets a value indicating whether the component can raise an event. Inherited from Component.
ContainerGets the IContainer that contains the Component. Inherited from Component.
CssClassGets or sets the cascading style sheet (CSS) class rendered by the Web server control on the client. Inherited from Style.
CursorGets or sets the type of cursor to display when the mouse pointer is over the object which the current style applies to.
DesignMode protectedGets a value that indicates whether the Component is currently in design mode. Inherited from Component.
Events protectedGets the list of event handlers that are attached to this Component. Inherited from Component.
FontGets the font properties associated with the Web server control. Inherited from Style.
ForeColorGets or sets the foreground color (typically the color of the text) of the Web server control. Inherited from Style.
HorizontalAlignGets or sets the horizontal alignment of the contents within its container.
IsEmptyGets a value that indicates whether this AppearanceStyleBase object is initialized with the default values.
IsTrackingViewState protectedReturns a value indicating whether any style elements have been defined in the state bag. Inherited from Style.
RegisteredCssClassGets the cascading style sheet (CSS) class that is registered with the control. Inherited from Style.
SiteGets or sets the ISite of the Component. Inherited from Component.
VerticalAlignGets or sets the vertical alignment of the contents in its container.
WrapIndicates whether the text content wraps in a container cell.

Methods

NameDescription
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) protectedReleases the unmanaged resources used by the Component and optionally releases the managed resources. Inherited from Component.
Equals(Object, Object) staticDetermines 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) protectedReturns 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) protectedLoads the previously saved state. Inherited from Style.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protectedCreates 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) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
Reset()Returns the AppearanceStyleBase object to its original state.
SaveViewState() protectedA protected method. Saves any state that has been modified after the TrackViewState() method was invoked. Inherited from Style.
SetBit(Int32) protectedA 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() protectedA 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.

Events

NameDescription
DisposedOccurs when the component is disposed by a call to the Dispose() method. Inherited from Component.

See Also

AppearanceStyleBase Class

DevExpress.Web Namespace