C# Class GW2PAO.PresentationCore.DragDrop.DragDropUtilities

Afficher le fichier Open project: SamHurne/gw2pao Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

HasVerticalOrientation() public static méthode

public static HasVerticalOrientation ( FrameworkElement itemContainer ) : bool
itemContainer System.Windows.FrameworkElement
Résultat bool

InsertItemInItemsControl() public static méthode

public static InsertItemInItemsControl ( ItemsControl itemsControl, object itemToInsert, int insertionIndex ) : void
itemsControl System.Windows.Controls.ItemsControl
itemToInsert object
insertionIndex int
Résultat void

IsInFirstHalf() public static méthode

public static IsInFirstHalf ( FrameworkElement container, Point clickedPoint, bool hasVerticalOrientation ) : bool
container System.Windows.FrameworkElement
clickedPoint Point
hasVerticalOrientation bool
Résultat bool

RemoveItemFromItemsControl() public static méthode

public static RemoveItemFromItemsControl ( ItemsControl itemsControl, object itemToRemove ) : int
itemsControl System.Windows.Controls.ItemsControl
itemToRemove object
Résultat int