Метод | Описание | |
---|---|---|
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 ( |
The OnCommandChanged method. This event handles the initial binding and future binding changes to the bound ICommand
|
|
GetCommand ( |
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 |
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 |