Intersoft ClientUI Documentation
AutoEllipsis Property
See Also  Send Feedback
Intersoft.Client.UI.Data Namespace > UXDataPager Class : AutoEllipsis Property






Gets or sets a value that indicates whether to use an ellipsis as the last numeric button.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property AutoEllipsis As Boolean
Visual Basic (Usage)Copy Code
Dim instance As UXDataPager
Dim value As Boolean
 
instance.AutoEllipsis = value
 
value = instance.AutoEllipsis
C# 
[CategoryAttribute("Common Properties")]
public bool AutoEllipsis {get; set;}
Delphi 
public read-write property AutoEllipsis: Boolean; 
JScript 
CategoryAttribute("Common Properties")
public function get,set AutoEllipsis : boolean
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property bool get_AutoEllipsis();
public: __property void set_AutoEllipsis( 
   bool value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property bool AutoEllipsis {
   bool get();
   void set (    bool value);
}

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"/>

Remarks

You can also set the AutoEllipsis property to true to automatically display an ellipsis indicator when the control has more pages to show. You can also modify the appearance of the numeric button by specifying a custom NumericButtonStyle.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.