Image for checkable RadMenuItem

3 posts, 0 answers
  1. Licensing
    Licensing avatar
    31 posts
    Member since:
    Sep 2011

    Posted 25 Apr 2012 Link to this post

    I'm using context menu with checkable items. In order to meet UI design requirements I need to use custom icons for checked items instead of check mark. Please look at attached screen shot.

    Current behavior:

    - If item is checked then default check mark is displayed and it can't be changed.
    - If item is not checked Icon image is displayed.

    Expected behavior:

    - If item is checked custom image is used instead of check mark (or some frame is drawn around icon - see green arrow).
    - If item is not checked then defalt icon is displayed.

    Looking forward for your response.
  2. Licensing
    Licensing avatar
    31 posts
    Member since:
    Sep 2011

    Posted 27 Apr 2012 Link to this post

    Are you going to provide me with any response?
  3. UI for WPF is Visual Studio 2017 Ready
  4. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 01 May 2012 Link to this post

    Hello,

    You should edit the template of the RadMenuItems in order to change the tick. I've attached an example to demonstrate the approach with implicit styles as explained here.  Go to Themes/Telerik.Windows.Controls.Navigation.xaml file and search for  "Path x:Name="Tick".  In the sample I've changed the tick to be red, but you can replace it with an image.

    Hope this helps.

    Kind regards,
    Yana
    the Telerik team

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

Back to Top