Export (0) Print
Expand All

PagerStyle Class

Note: This API is now obsolete.

Provides style capability for the pagination UI of a page. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System.Object
  System.Web.UI.MobileControls.Style
    System.Web.UI.MobileControls.PagerStyle

Namespace:  System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

[ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class PagerStyle : Style

The PagerStyle type exposes the following members.

  NameDescription
Public methodPagerStyleInstantiates a new instance of the PagerStyle class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Top

  NameDescription
Public propertyAlignmentGets or sets the specified alignment for the style. The default value is Alignment.NotSet. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Public propertyBackColorGets or sets the specified background color for the style. The default value is Color.Empty. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Public propertyControlReturns a strongly typed reference to the associated control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Public propertyDeviceSpecificGets or sets the DeviceSpecific/Choice construct associated with the control. The accessor returns null if no such construct exists. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Public propertyFontReturns a FontInfo object that contains font information about the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Public propertyForeColorGets or sets the specified foreground color for the style. Typically, this property sets the color for the text. The default value is Empty. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Public propertyIsTemplatedGets a value indicating whether a Style object has an active template set. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Protected propertyIsTrackingViewStateGets a value indicating whether the Style object is saving changes to its view state. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Public propertyItem[Object]Returns the style through the key parameter, with or without using inheritance. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Public propertyItem[Object, Boolean]Returns the style, through the key parameter, with or without using inheritance. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Public propertyNameGets or sets the name of the specified object. The default value is an empty string (""). This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Public propertyNextPageTextGets or sets the label used for a UI element that is used to navigate to the next page. The default value is "Next". This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Public propertyPageLabelGets or sets the label used for the current page. The default value is an empty string (""). This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Public propertyPreviousPageTextGets or sets the label used for the UI element used to navigate to the previous page. The default value is Previous. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Protected propertyStateGets the current contents of the StateBag. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Public propertyStyleReferenceGets or sets a reference to the style properties for a Style. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Public propertyWrappingGets or sets the specified wrapping mode for the style. The default value is NotSet. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Top

  NameDescription
Protected methodAddParsedSubObjectSets the DeviceSpecific property to the specified object. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Public methodApplyToApplies the properties of a style to a control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Public methodCloneReturns a copy of this instance of the Style object. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetNextPageTextReturns a formatted string for the user interface (UI) element used to navigate to the next page. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Public methodGetPageLabelTextReturns a formatted string for the UI element used to navigate to the next page. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Public methodGetPreviousPageTextReturns a formatted string for the UI element used to navigate to the previous page. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Public methodGetTemplateReturns the template with the specified name. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodLoadViewStateLoads the view state into the State of the Style object. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodSaveViewStateSaves the changes to the view state to an Object. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Protected methodTrackViewStateTurns on the tracking of view state in the Style object. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Top

  NameDescription
Public fieldStatic memberNextPageTextKeyRepresents the key for retrieving the style from the embedded stylesheet for NextPageText. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Public fieldStatic memberPageLabelKeyRepresents the key for retrieving the style from the embedded stylesheet for PageLabel. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Public fieldStatic memberPreviousPageTextKeyRepresents the key for retrieving the style from the embedded stylesheet for PreviousPageText. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Top

  NameDescription
Explicit interface implemetationPrivate methodIParserAccessor.AddParsedSubObjectInfrastructure. For a description of this member, see IParserAccessor.AddParsedSubObject. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Explicit interface implemetationPrivate propertyIStateManager.IsTrackingViewStateInfrastructure. For a description of this member, see IStateManager.IsTrackingViewState. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Explicit interface implemetationPrivate methodIStateManager.LoadViewStateInfrastructure. For a description of this member, see IStateManager.LoadViewState. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Explicit interface implemetationPrivate methodIStateManager.SaveViewStateInfrastructure. For a description of this member, see IStateManager.SaveViewState. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Explicit interface implemetationPrivate methodIStateManager.TrackViewStateInfrastructure. For a description of this member, see IStateManager.TrackViewState. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from Style.)
Top

The PagerStyle object is a Style object with additional style properties specific to the pagination user interface (UI) of a form. Use the properties and methods of the PagerStyle class to override default text for the NextPageText, PreviousPageText, and PageLabel properties. For example, if you are programmatically creating a form with Next and Previous links to the appropriate pages, you can override the text for these links by setting the value of the properties previously mentioned. You can use methods, such as GetNextPageText, GetPreviousPageText, or GetPageLabelText to retrieve the current value of the properties.

NoteNote

The PageLabel property applies only to HTML markup and may not be rendered in other markups such as WML.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1
Obsolete (compiler warning) in 4.5.2
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft