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

GetCommand() приватный статический Метод

Gets the PreviewDropCommand assigned to the PreviewDropCommandProperty DependencyProperty. As this is only needed by this class, it is private.
private static GetCommand ( UIElement inUiElement ) : ICommand
inUiElement System.Windows.UIElement A UIElement object.
Результат ICommand
        private static ICommand GetCommand(UIElement inUiElement)
        {
            Argument.IsNotNull(() => inUiElement);

            return (ICommand) inUiElement.GetValue(CommandProperty);
        }