AttachedCommandBehavior.CommandBehavior.GetCommand C# (CSharp) Method

GetCommand() public static method

Gets the Command property.
public static GetCommand ( DependencyObject d ) : ICommand
d System.Windows.DependencyObject
return ICommand
        public static ICommand GetCommand(DependencyObject d)
        {
            return (ICommand) d.GetValue(CommandProperty);
        }