Catel.LogAnalyzer.Behaviors.DropFileBehavior.SetCommand C# (CSharp) Метод

SetCommand() публичный статический Метод

The setter. This sets the value of the PreviewDropCommandProperty Dependency Property. It is expected that you use this only in XAML This appears in XAML with the "Set" stripped off. XAML usage:
public static SetCommand ( this inUiElement, ICommand inCommand ) : void
inUiElement this A UIElement object. In XAML this is automatically passed /// in, so you don't have to enter anything in XAML.
inCommand ICommand An object that implements ICommand.
Результат void
        public static void SetCommand(this UIElement inUiElement, ICommand inCommand)
        {
            inUiElement.SetValue(CommandProperty, inCommand);
        }