Reputation: 15340
I'm using the DataPager control in XAML as follows:
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*" />
<ColumnDefinition Width="1*" />
<ColumnDefinition Width="1*" />
</Grid.ColumnDefinitions>
<data:DataPager Grid.Column="1"
Source="{Binding PagedCollection, ElementName=ucPagingControl}"
PageSize="{Binding PagedCollection.PageSize, ElementName=ucPagingControl}"
AutoEllipsis="True"
DisplayMode="FirstLastPreviousNextNumeric" />
and all displays well for the first 99 pages
However, after page 100 I lose the first/last button graphics
Any ideas why or how to change the number of pages displayed to recover the space?
Upvotes: 0
Views: 208
Reputation: 15340
Turns out the fix was in the Grid definition. The following works:
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition Width="Auto" />
<ColumnDefinition />
</Grid.ColumnDefinitions>
Upvotes: 1