Intersoft ClientUI Documentation
DisplayMode Property (UXDataPager)



Gets or sets a value that indicates how the UXDataPager user interface is displayed.
Syntax
<CategoryAttribute("Common Properties")>
Public Property DisplayMode As PagerDisplayMode
Dim instance As UXDataPager
Dim value As PagerDisplayMode
 
instance.DisplayMode = value
 
value = instance.DisplayMode
[CategoryAttribute("Common Properties")]
public PagerDisplayMode DisplayMode {get; set;}
[CategoryAttribute("Common Properties")]
public:
property PagerDisplayMode DisplayMode {
   PagerDisplayMode get();
   void set (    PagerDisplayMode value);
}
Remarks
You can customize the appearance of the UXDataPager by setting the DisplayMode property. If you use a DisplayMode that displays numeric buttons, you can change the number of buttons displayed by setting the NumericButtonCount property.
Example

The following illustration shows the UXDataPager configured to use different display mode.

XAML
Copy Code
    <Intersoft:UXDataPager PageSize="20" QueryOperation="Client" Source="{Binding Customers}"
                        Margin="8" DisplayMode="FirstLastNumeric"/>
    <Intersoft:UXDataPager PageSize="20" QueryOperation="Client" Source="{Binding Customers}"
                        Margin="8" DisplayMode="FirstLastPreviousNext"/>
    <Intersoft:UXDataPager PageSize="20" QueryOperation="Client" Source="{Binding Customers}"
                        Margin="8" DisplayMode="FirstLastPreviousNextNumeric"/>
    <Intersoft:UXDataPager PageSize="20" QueryOperation="Client" Source="{Binding Customers}" NumericButtonCount="3" AutoEllipsis="True"
                        Margin="8" DisplayMode="FirstLastPreviousNextNumeric"/>
    <Intersoft:UXDataPager PageSize="20" QueryOperation="Client" Source="{Binding Customers}" NumericButtonCount="2"
                        Margin="8" DisplayMode="FirstLastPreviousNextNumeric"/>
    <Intersoft:UXDataPager PageSize="20" QueryOperation="Client" Source="{Binding Customers}"
                        Margin="8" DisplayMode="Numeric"/>
    <Intersoft:UXDataPager PageSize="20" QueryOperation="Client" Source="{Binding Customers}"
                        Margin="8" DisplayMode="PreviousNext"/>
    <Intersoft:UXDataPager PageSize="20" QueryOperation="Client" Source="{Binding Customers}"
                        Margin="8" DisplayMode="PreviousNextNumeric"/>
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXDataPager Class
UXDataPager Members

Send Feedback