You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if( child is FrameworkElement children && children.ContextMenu != null && children.ContextMenu.IsOpen )
will not compile. I'm not sure what "children" is supposed to represent, as there is no matching declaration in the module, nor is it an argument passed to the event handler. When I remove the first "children" from the line, the syntax error goes away, but I'm still left with a "name does not exist in this context" issue for "children." I'm not sure enough of the intent of this code to fix the problem without asking for advice.
The text was updated successfully, but these errors were encountered:
This line in the GetContextMenu event handler:
if( child is FrameworkElement children && children.ContextMenu != null && children.ContextMenu.IsOpen )
will not compile. I'm not sure what "children" is supposed to represent, as there is no matching declaration in the module, nor is it an argument passed to the event handler. When I remove the first "children" from the line, the syntax error goes away, but I'm still left with a "name does not exist in this context" issue for "children." I'm not sure enough of the intent of this code to fix the problem without asking for advice.
The text was updated successfully, but these errors were encountered: