C# Класс GW2PAO.PresentationCore.DragDrop.DragDropUtilities

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
HasVerticalOrientation ( FrameworkElement itemContainer ) : bool
InsertItemInItemsControl ( ItemsControl itemsControl, object itemToInsert, int insertionIndex ) : void
IsInFirstHalf ( FrameworkElement container, Point clickedPoint, bool hasVerticalOrientation ) : bool
RemoveItemFromItemsControl ( ItemsControl itemsControl, object itemToRemove ) : int

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

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

public static HasVerticalOrientation ( FrameworkElement itemContainer ) : bool
itemContainer System.Windows.FrameworkElement
Результат bool

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

public static InsertItemInItemsControl ( ItemsControl itemsControl, object itemToInsert, int insertionIndex ) : void
itemsControl System.Windows.Controls.ItemsControl
itemToInsert object
insertionIndex int
Результат void

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

public static IsInFirstHalf ( FrameworkElement container, Point clickedPoint, bool hasVerticalOrientation ) : bool
container System.Windows.FrameworkElement
clickedPoint Point
hasVerticalOrientation bool
Результат bool

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

public static RemoveItemFromItemsControl ( ItemsControl itemsControl, object itemToRemove ) : int
itemsControl System.Windows.Controls.ItemsControl
itemToRemove object
Результат int