This is a migrated thread and some comments may be shown as answers.

Styles in the Samples

4 Answers 88 Views
DataPager
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 28 Oct 2011, 08:33 PM
Hi..
In the Silverlight Book Samples - Paging.
Where / How is the style that is being applied to the DataPager at runtime?
The pager appears plain and gray at design time. But when you run it it shows color and rounded buttons.
thanks!

4 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 31 Oct 2011, 07:59 AM
Hello Jon,

 


The buttons in data pager are bound to pager specific properties and those to the left allows you to navigate between the pages. Generally if you want to enable these buttons in design time you should specify the needed properties for the pager such as ItemCount, PageSize, DisplayMode etc in xaml. I am attaching you 3 pictures which demonstrate the different previews from Blend.



Kind regards,
Vanya Pavlova
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Jon
Top achievements
Rank 1
answered on 31 Oct 2011, 12:22 PM
Hi..
In the samples.. you have rounded color numeric buttons. Where do those come from?
When I copy the Datapager from the sample.. I get the plan styles.
Where is the style being applied from? thanks
0
Vanya Pavlova
Telerik team
answered on 31 Oct 2011, 12:35 PM
Hi Jon,

 

The numeric buttons represent the pages in RadDataPager and they have custom styles. Considering the attachment you have referred to our Metro theme. I am attaching you the full template of RadDataPager in this theme, which you may use for further reference. 
If you need any further assistance let me know. 



Kind regards,
Vanya Pavlova
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Jon
Top achievements
Rank 1
answered on 31 Oct 2011, 03:42 PM
thanks again!
Tags
DataPager
Asked by
Jon
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Jon
Top achievements
Rank 1
Share this question
or