Single column clock with vertical scrollbar

3 posts, 0 answers
  1. Jace
    Jace avatar
    13 posts
    Member since:
    Feb 2015

    Posted 22 May 2016 Link to this post

    Is it possible to make the clock portion as one column with a vertical scrollbar?  Attached is a pic of kind of what I'm looking for.


  2. Yana
    Yana avatar
    4942 posts

    Posted 25 May 2016 Link to this post

    Hello John,

    You will need to customize the template of RadClock used to display the hours.  I have attached a sample project to demonstrate how the required look could be achieved. Please take a look at the App.xaml file which contains the modified RadClockStyle, the changes I made are:

    - inside ItemsPanelTemplate set the Column property of the RadUniformGrid to "1";
    - inside the ControlTemplate added a ScrollVIewer which wraps the ItemsPresenter.

    Note that I've used Implicit Styles to set the theme to the DateTimePicker, so you should reference the assemblies from Binaries.NoXaml folder.

    Hope this helps.

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. Jace
    Jace avatar
    13 posts
    Member since:
    Feb 2015

    Posted 25 May 2016 in reply to Yana Link to this post

    Very nice! I like it!
Back to Top