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