locked
How to highlight items by code in ApplicationMenu WPF RRS feed

  • Question

  • I have a Xamribbon control, in which I have an ApplicationMenu with several MenuTool's as you can view in the code:

    <igWPF:XamRibbon Theme="Onyx" IsMinimized="False" HorizontalAlignment="Right" VerticalAlignment="Top" IsEnabled="True" >
    
                <igWPF:XamRibbon.ApplicationMenu >
                    <igWPF:ApplicationMenu UseLargeImages="True" Opened="ApplicationMenuOpened" Closed="ApplicationMenuClosed" >
    
                        <igWPF:MenuTool Caption="Prueba 1" LargeImage="/Imagenes/Bullet_check.png">
                            <igWPF:LabelTool Caption="Prueba 1"/>
                            <igWPF:MenuTool Caption="Prueba 1" LargeImage="/Imagenes/Bullet_check.png">
                                <igWPF:ToggleButtonTool Caption="Prueba 1" SmallImage="/Imagenes/Bullet_check.png" />
                            </igWPF:MenuTool>
                        </igWPF:MenuTool>
    
                        <igWPF:MenuTool Caption="Prueba 2" LargeImage="/Imagenes/Bullet_check.png">
                            <igWPF:LabelTool Caption="Prueba 2"/>
                            <igWPF:MenuTool Caption="Prueba 2" LargeImage="/Imagenes/Bullet_check.png">
                                <igWPF:ToggleButtonTool Caption="Prueba 2" SmallImage="/Imagenes/Bullet_check.png"/>
                            </igWPF:MenuTool>
                        </igWPF:MenuTool>
    
                        <igWPF:MenuTool Caption="Prueba 3" LargeImage="/Imagenes/Bullet_check.png">
                           <igWPF:LabelTool Caption="Prueba 3"/>
                            <igWPF:MenuTool Caption="Prueba 3" LargeImage="/Imagenes/Bullet_check.png">
                                <igWPF:ToggleButtonTool Caption="Prueba 3" SmallImage="/Imagenes/Bullet_check.png"/>
                            </igWPF:MenuTool>
                        </igWPF:MenuTool>
    
                 </igWPF:ApplicationMenu>
    
                 </igWPF:XamRibbon.ApplicationMenu >
    </igWPF:XamRibbon>

    As you can check, at the end of each MenuTool there is a ToggleButtonTool, which is supposed to represent an external application.

    My point is that, each time I add a new MenuTool with its corresponding ToggleButtonTool, I need all the path gets highlighted (from outer MenuTool to the ToggleButtonTool), in the same way a Windows does in the system start menu when a new application is installed (next image would be exactly what I need each time ApplicationMenu is opened):

    I tried to do this by turning the "IsChecked" property to true, but this action only highlight the icon area, and not the whole MenuTool or ToggleButtonTool item.  though the way to get it would be setting true the "IsMouseOver" property, but it is an 'only read' property.

    I have also tried to change background color of the items, but it is not working.

    Anyone has done something similar and could help me, please? I have tried to attach some images to clarify my case, but it is the first time I post so I haven't the required reputation to do it. If you require further information please ask me :)

    Thank you for your help in advance.

    Regards,

    Thursday, August 6, 2015 6:37 AM

Answers

  • Hi Seltaeb88,

    I have noticed that XamRibbon was a third-party, WPF forum of Microsoft would not support it. Please post a new thread in its official website. Here is the link: http://www.infragistics.com/community/forums/198.aspx

    Thank you for your understanding.

    Best Regards,

    Xavier Eoro


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Just Karl Friday, August 7, 2015 3:23 PM
    • Marked as answer by Just Karl Friday, September 4, 2015 9:50 PM
    Friday, August 7, 2015 1:56 AM

All replies

  • Hi Seltaeb88,

    I have noticed that XamRibbon was a third-party, WPF forum of Microsoft would not support it. Please post a new thread in its official website. Here is the link: http://www.infragistics.com/community/forums/198.aspx

    Thank you for your understanding.

    Best Regards,

    Xavier Eoro


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Just Karl Friday, August 7, 2015 3:23 PM
    • Marked as answer by Just Karl Friday, September 4, 2015 9:50 PM
    Friday, August 7, 2015 1:56 AM
  • Hi Xavier,

    You are right, I'm sorry for that. I will post in the correct forum. 

    Thank you for your understanding and patience.

    Best regards,

    Víctor


    • Edited by Seltaeb88 Friday, August 7, 2015 6:52 AM
    Friday, August 7, 2015 6:52 AM