Style Members
.NET Framework 2.0
Organizes style characteristics of an ASP.NET mobile control.
The following tables list the members exposed by the Style type.
| Name | Description | |
|---|---|---|
| AlignmentKey | Represents the key used to retrieve the Alignment setting of the Style. |
| BackColorKey | The key for retrieving the style from the embedded style sheet for BackColor property. Used internally by ASP.NET. |
| BoldKey | The key for retrieving the style from the embedded style sheet for setting the Bold property of the Font. Used internally by ASP.NET. |
| FontNameKey | The key for retrieving the style from the embedded style sheet for the Name property of the Font property. Used internally by ASP.NET. |
| FontSizeKey | The key for retrieving the style from the embedded style sheet for the Size property of the Font property. Used internally by ASP.NET. |
| ForeColorKey | The key for retrieving the style from the embedded style sheet for the ForeColor property. Used internally by ASP.NET. |
| ItalicKey | The key for retrieving the style from the embedded style sheet for the Italic property of the Font property. Used internally by ASP.NET. |
| WrappingKey | The key for retrieving the style from the embedded style sheet for Wrapping. Used internally by ASP.NET. |
(see also
Protected Properties
)
Top
| Name | Description | |
|---|---|---|
| Alignment | Gets or sets the specified alignment for the style. The default value is Alignment.NotSet. |
| BackColor | Gets or sets the specified background color for the style. The default value is Color.Empty. |
| Control | Returns a strongly typed reference to the associated control. |
| DeviceSpecific | Gets or sets the DeviceSpecific/Choice construct associated with the control. The accessor returns a null reference (Nothing in Visual Basic) if no such construct exists. |
| Font | Returns a FontInfo object that contains font information about the control. |
| ForeColor | Gets or sets the specified foreground color for the style. Typically, this property sets the color for the text. The default value is Empty. |
| IsTemplated | Gets a value indicating whether a Style object has an active template set. |
| Item | Overloaded. Returns the style through the key parameter, with or without using inheritance. |
| Name | Gets or sets the name of the specified object. The default value is an empty string (""). |
| StyleReference | Gets or sets a reference to the style properties for a Style. |
| Wrapping | Gets or sets the specified wrapping mode for the style. The default value is NotSet. |
| Name | Description | |
|---|---|---|
| IsTrackingViewState | Gets a value indicating whether the Style object is saving changes to its view state. |
| State | Gets the current contents of the StateBag. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| ApplyTo | Applies the properties of a style to a control. |
| Clone | Returns a copy of this instance of the Style object. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetTemplate | Returns the template with the specified name. |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| RegisterStyle | Registers a style property and returns a unique key for lookup. |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| AddParsedSubObject | Sets the DeviceSpecific property to the specified object. |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| LoadViewState | Loads the view state into the State of the Style object. |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
| SaveViewState | Saves the changes to the view state to an Object. |
| TrackViewState | Turns on the tracking of view state in the Style object. |
| Name | Description | |
|---|---|---|
| System.Web.UI.IParserAccessor.AddParsedSubObject | For a description of this member, see IParserAccessor.AddParsedSubObject. |
| System.Web.UI.IStateManager.LoadViewState | For a description of this member, see IStateManager.LoadViewState. |
| System.Web.UI.IStateManager.SaveViewState | For a description of this member, see IStateManager.SaveViewState. |
| System.Web.UI.IStateManager.TrackViewState | For a description of this member, see IStateManager.TrackViewState. |
| System.Web.UI.IStateManager.IsTrackingViewState | For a description of this member, see IStateManager.IsTrackingViewState. |
Reference
Style ClassSystem.Web.UI.MobileControls Namespace
Name
Other Resources
Introduction to the StyleSheet ControlCommunity Additions
ADD
Show: