Increase Data Pager Button's and Textblock's Height.

3 posts, 1 answers
  1. Rahul
    Rahul avatar
    9 posts
    Member since:
    Aug 2014

    Posted 16 Feb 2015 Link to this post

    Hi Support,

    I want to increase the height and width of the Rad Data Pager's buttons and the TextBlock. As it is very small in sizing. As I am trying to give some custom style but still I do not know how to increase its Height. Please help me.

    Have a look into the attached screen-shot.

    Thanks
    Rahul
  2. Answer
    Stefan X1
    Admin
    Stefan X1 avatar
    514 posts

    Posted 18 Feb 2015 Link to this post

    Hi Rahul,

    A possible way of changing the default RadDataPager style is to use the NoXAML binaries with Implicit styles as described in the Setting a Theme (Using Implicit Styles) documentation article.

    In Telerik.Windows.Controls.Data.xaml file please search for the following ControlTemplate:
    <ControlTemplate x:Key="DataPagerPresenterTemplate" TargetType="dataPager:DataPagerPresenter">

    Within it you should be able to find each RadButton and also the TextBox.
    <dataPager:DataPagerTextBox/>

    Then you can manipulate their Height and Width properties according to your requirements.

    Let me know if you need any further assistance.

    Best Regards,
    Stefan
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Rahul
    Rahul avatar
    9 posts
    Member since:
    Aug 2014

    Posted 18 Feb 2015 in reply to Stefan X1 Link to this post

    Thanks so much. It works for me. 

    Thanks
    Rahul
Back to Top