Single column clock with vertical scrollbar

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

    Posted 22 May 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.

    Thanks...

  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 25 May 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.

    Regards,
    Yana
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Jace
    Jace avatar
    9 posts
    Member since:
    Feb 2015

    Posted 25 May in reply to Yana Link to this post

    Very nice! I like it!
Back to Top