Share via


Style Class Members

Public Constructors

Style Constructor Initializes a new instance of the PagerStyle class.

Public Fields

AlignmentKey Field Used internally by ASP.NET.
BackColorKey Field Used internally by ASP.NET.
BoldKey Field Used internally by ASP.NET.
FontNameKey Field Used internally by ASP.NET.
FontSizeKey Field Used internally by ASP.NET.
ForeColorKey Field Used internally by ASP.NET.
ItalicKey Field Used internally by ASP.NET.
WrappingKey Field Used internally by ASP.NET.

Public Methods

ApplyTo Method Applies the properties of a style to a control.
Clone Method No topic is available for this item.
Equals Method (inherited from Object) Inherited from .NET Framework.
GetHashCode Method (inherited from Object) Used internally by ASP.NET. Not intended for use by client applications.
GetTemplate Method Returns the template with the specified name.
GetType Method (inherited from Object) Inherited from .NET Framework.
RegisterStyle Method Registers a style property and returns a unique key for lookup.
ToString Method (inherited from Object) Inherited from .NET Framework.

Protected Methods

Finalize Method (inherited from Object) Inherited from .NET Framework.
MemberwiseClone Method (inherited from Object) Inherited from .NET Framework.

Public Properties

Alignment Property Sets or returns the specified argument for the style. The default value is AlignmentNotSet.
BackColor Property Sets or returns the specified background color for the style. The default value is Color.Empty.
Control Property Sets or returns the ID of the input control to compare. The default value is an empty string ("").
DeviceSpecific Property Sets or returns the DeviceSpecific/Choice construct associated with the control. The accessor returns null if no such construct exists.
Font Property Returns a FontInfo object that contains font information about the control.
ForeColor Property Sets or returns the specified foreground color for the style. The default value is Color.Empty.
IsTemplated Property Returns whether a MobileControl or Style object has an active template set.
Item this Property Returns the style, through the key parameter, with or without using inheritance.
Name Property Returns true if the device supports the Font.Name property for text. The default is true.
State Property Returns the current contents of the Statebag.
StyleReference Property Sets or returns a reference to the style properties for a control.
Wrapping Property Sets or returns the specified wrapping mode for the style. The default value is NotSet.

See Also

Style Class