Method GetCommand
GetCommand(FrameworkElement)
Gets the command associated with the specified framework element.
public static ICommand GetCommand(FrameworkElement element)
Parameters
elementFrameworkElementThe framework element.
Returns
- ICommand
The command associated with the framework element.