AttachedCommandBehavior.CommandBehavior.SetCommand C# (CSharp) Method

SetCommand() public static method

Sets the Command property.
public static SetCommand ( DependencyObject d, ICommand value ) : void
d System.Windows.DependencyObject
value ICommand
return void
        public static void SetCommand(DependencyObject d, ICommand value)
        {
            d.SetValue(CommandProperty, value);
        }