Table of Contents

Class DropAdornerBehavior<T>

Namespace
HeBianGu.Control.Adorner
Assembly
HeBianGu.Control.Adorner.dll

用于显示ListBoxItem拖拽进行时的效果,通过附加属性Bool修改样式

public abstract class DropAdornerBehavior<T> : Behavior<T>, IAnimatable, IAttachedObject where T : UIElement

Type Parameters

T
Inheritance
DropAdornerBehavior<T>
Implements
Derived
Inherited Members
Extension Methods

Fields

DragGroupProperty

public static readonly DependencyProperty DragGroupProperty

Field Value

DependencyProperty

Properties

DragGroup

判断可否放置的分组

public string DragGroup { get; set; }

Property Value

string

Methods

DropElement(UIElement, Point, Point)

protected abstract void DropElement(UIElement element, Point location, Point offset)

Parameters

element UIElement
location Point
offset Point

OnAttached()

Called after the behavior is attached to an AssociatedObject.

protected override void OnAttached()

Remarks

Override this to hook up functionality to the AssociatedObject.

OnDetaching()

Called when the behavior is being detached from its AssociatedObject, but before it has actually occurred.

protected override void OnDetaching()

Remarks

Override this to unhook functionality from the AssociatedObject.