C# Class ComponentFactory.Quicksilver.Layout.BoundsEasingAnimate

Base class for animations that require easing and start/end position calculations.
Inheritance: EasingAnimate
Mostra file Open project: ComponentFactory/Quicksilver

Public Properties

Property Type Description
LocationProperty System.Windows.DependencyProperty
SizeProperty System.Windows.DependencyProperty

Protected Methods

Method Description
BoundsEasingAnimate ( MetaElementStatus target ) : System

Initialize a new instance of the SizePositionAnimate class.

RectFromLocation ( AnimateLocation location, MetaPanelBase metaPanel, MetaElementState elementState ) : Rect

Calculate appropriate rectangle from given current state and target location.

RectFromSize ( AnimateSize size, Rect rect, MetaElementState elementState ) : Rect

Calculate appropriate rectangle from given current state and target size.

Private Methods

Method Description
BoundsEasingAnimate ( ) : System

Method Details

BoundsEasingAnimate() protected method

Initialize a new instance of the SizePositionAnimate class.
protected BoundsEasingAnimate ( MetaElementStatus target ) : System
target MetaElementStatus State of elements to animate.
return System

RectFromLocation() protected method

Calculate appropriate rectangle from given current state and target location.
protected RectFromLocation ( AnimateLocation location, MetaPanelBase metaPanel, MetaElementState elementState ) : Rect
location AnimateLocation Location enumeration.
metaPanel MetaPanelBase Reference to owning panel instance.
elementState MetaElementState Animation state of element.
return System.Windows.Rect

RectFromSize() protected method

Calculate appropriate rectangle from given current state and target size.
protected RectFromSize ( AnimateSize size, Rect rect, MetaElementState elementState ) : Rect
size AnimateSize Size enumeration.
rect System.Windows.Rect Rectangle to modify.
elementState MetaElementState Animation state of element.
return System.Windows.Rect

Property Details

LocationProperty public_oe static_oe property

Identifies the Location dependency property.
public static DependencyProperty,System.Windows LocationProperty
return System.Windows.DependencyProperty

SizeProperty public_oe static_oe property

Identifies the Size dependency property.
public static DependencyProperty,System.Windows SizeProperty
return System.Windows.DependencyProperty