How can I create a round (as circle) RadButton ?

6 posts, 1 answers
  1. Yaroslav
    Yaroslav avatar
    123 posts
    Member since:
    Jan 2016

    Posted 19 Oct Link to this post

    How can I create a round (as circle) RadButton, define its radius, and after all put any image (icon) on it surface? Please give me an example if this is possible ofcource. Thank you very much in advance.
  2. Yaroslav
    Yaroslav avatar
    123 posts
    Member since:
    Jan 2016

    Posted 19 Oct in reply to Yaroslav Link to this post

    And so it can be used in MVVM application!
  3. UI for WPF is Visual Studio 2017 Ready
  4. Answer
    Martin
    Admin
    Martin avatar
    63 posts

    Posted 21 Oct Link to this post

    Hi Yaroslav,

    Depending on the theme you would like to use, you might need to retemplate the RadButton. In newer theme it can be achieved via a sufficiently large CornerRadius set to the RadButton, but that does not look perfect in all scenarios (some blurring occurs at times, the content does not get clipped properly etc). I am providing you a retemplated RadButton with Ellipses on the inside. It is for the Office2016 theme, but the principle is the same, so you can change the brushes for the theme you need (regarding the template of the button in it).

    Regards,
    Martin
    Telerik by Progress
    Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
  5. Yaroslav
    Yaroslav avatar
    123 posts
    Member since:
    Jan 2016

    Posted 27 Oct in reply to Martin Link to this post

    Thank you, Martin. I'll try later because I'm occupying now in other tasks. I don't close this post yet.
  6. Martin
    Admin
    Martin avatar
    63 posts

    Posted 28 Oct Link to this post

    Hi Yaroslav,

    I hope the proposed solution would fit your needs. Do not hesitate to contact us further if you are facing any issues.

    Regards,
    Martin
    Telerik by Progress
    Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
  7. Yaroslav
    Yaroslav avatar
    123 posts
    Member since:
    Jan 2016

    Posted 01 Nov in reply to Martin Link to this post

    Thank you very much, Martin. I created round RadButton with the style you had given. It works and looks nice. Thanks for your help and support.
Back to Top
UI for WPF is Visual Studio 2017 Ready