Method GetCommand
GetCommand(FrameworkElement)
Gets the command associated with the control.
public static ICommand GetCommand(FrameworkElement item)
Parameters
item
FrameworkElementThe control.
Returns
- ICommand
The command associated with the control.