Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
465
Radial Menu performAction
posted

Hi All

I'm currently using RadialMenu v13.2.2023 and I was trying out the radial menu. What I was trying to do was if the user clicks on the Menu Tool and not the DrillDown button then in the method _ToolClick I was selecting the key of the tool and then trying the following .PerformAction(UltraWinRadialMenu.UltraRadialMenuAction.DrillDown). This and all other possible actions return a False so I was wondering what else should I be doing? Clicking on the drilldown button does work correctly.

Look forward to your replies.

Parents
No Data
Reply
  • 69832
    Verified Answer
    Offline posted

    To be honest I'm not terribly familiar with this control, but I looked at the code and the DrillDown action will fail if there is no focused/activated tool, and will also fail if the CenterTool is focused. So if you get some child tool of the CenterTool to be focused, it should work...I was able to get that to happen like so:

    //  Expand

    this.radialMenu.Expanded = true;

    //  Activate the next tool

    this.radialMenu.PerformAction(Infragistics.Win.UltraWinRadialMenu.UltraRadialMenuAction.NextItem);

    //  Drill down

    bool ok = this.rm.PerformAction(Infragistics.Win.UltraWinRadialMenu.UltraRadialMenuAction.DrillDown);

     

Children