Table of Contents

Class FluidMoveBehaviorBase

Namespace
HeBianGu.Base.WpfBase
Assembly
HeBianGu.Base.WpfBase.dll
public abstract class FluidMoveBehaviorBase : Behavior<FrameworkElement>, IAnimatable, IAttachedObject
Inheritance
FluidMoveBehaviorBase
Implements
Derived
Inherited Members
Extension Methods

Fields

AppliesToProperty

Dependency property for the scope of the behavior. See FluidMoveScope for more details.

public static readonly DependencyProperty AppliesToProperty

Field Value

DependencyProperty

IdentityTagProperty

Identity tag used to detect element motion between containers.

protected static readonly DependencyProperty IdentityTagProperty

Field Value

DependencyProperty

IsActiveProperty

Dependency property for the active state of the behavior.

public static readonly DependencyProperty IsActiveProperty

Field Value

DependencyProperty

TagPathProperty

Dependency property for the extra path to add to the binding when UsaBindingAsTag is true.

public static readonly DependencyProperty TagPathProperty

Field Value

DependencyProperty

TagProperty

Dependency property that provides the ability to use the element as its own tag, or the binding on the element.

public static readonly DependencyProperty TagProperty

Field Value

DependencyProperty

Properties

AppliesTo

Indicates whether the behavior applies just to this element, or to all children of the element (if the element is a Panel).

public FluidMoveScope AppliesTo { get; set; }

Property Value

FluidMoveScope

IsActive

Indicates whether the behavior is currently active.

public bool IsActive { get; set; }

Property Value

bool

ShouldSkipInitialLayout

protected virtual bool ShouldSkipInitialLayout { get; }

Property Value

bool

Tag

Indicates whether to use the element as its own tag, or to use the binding on the element as the tag.

public TagType Tag { get; set; }

Property Value

TagType

TagPath

Extra path to add to the binding when TagType is specified.

public string TagPath { get; set; }

Property Value

string

Methods

EnsureTags(FrameworkElement)

protected virtual void EnsureTags(FrameworkElement child)

Parameters

child FrameworkElement

GetIdentityTag(DependencyObject)

protected static object GetIdentityTag(DependencyObject obj)

Parameters

obj DependencyObject

Returns

object

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.

SetIdentityTag(DependencyObject, object)

protected static void SetIdentityTag(DependencyObject obj, object value)

Parameters

obj DependencyObject
value object