Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataPager.DisplayMode Property

Silverlight

Gets or sets a value that indicates how the DataPager user interface is displayed.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)

public PagerDisplayMode DisplayMode { get; set; }
<sdk:DataPager DisplayMode="pagerDisplayModeValue"/>

XAML Values

pagerDisplayModeValue

A named constant of the PagerDisplayMode enumeration, for example PreviousNext.

Property Value

Type: System.Windows.Controls.PagerDisplayMode
An enumeration value that indicates how the DataPager user interface is displayed.

Dependency property identifier field: DisplayModeProperty

When the AutoEllipsis property is true, the last numeric page button is replaced with an ellipsis for any DisplayMode that shows numeric page buttons.

The following illustration shows the DataPager configured to use different display modes.

DataPager Display Modes

DataPager display modes

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft