Catel.LogAnalyzer.Behaviors.DropFileBehavior.GetCommand C# (CSharp) Method

GetCommand() private static method

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.
return ICommand
        private static ICommand GetCommand(UIElement inUiElement)
        {
            Argument.IsNotNull(() => inUiElement);

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