C# Класс Catel.LogAnalyzer.Behaviors.DropFileBehavior

This is an Attached Behavior and is intended for use with XAML objects to enable binding a drag and drop event to an ICommand.
Показать файл Открыть проект

Открытые методы

Метод Описание
SetCommand ( this inUiElement, ICommand inCommand ) : void

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:

Приватные методы

Метод Описание
CommandPropertyChangedCallBack ( DependencyObject inDependencyObject, System.Windows.DependencyPropertyChangedEventArgs inEventArgs ) : void

The OnCommandChanged method. This event handles the initial binding and future binding changes to the bound ICommand

GetCommand ( UIElement inUiElement ) : ICommand

Gets the PreviewDropCommand assigned to the PreviewDropCommandProperty DependencyProperty. As this is only needed by this class, it is private.

UIElement_Drop ( object sender, System.Windows.DragEventArgs e ) : void

Описание методов

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