C# 클래스 System.Windows.Controls.AnimatedPanel

A base class for all panels providing animated layout.
상속: System.Windows.Controls.Panel
파일 보기 프로젝트 열기: nikhilk/silverlightfx

공개 프로퍼티들

프로퍼티 타입 설명
DurationProperty System.Windows.DependencyProperty
InterpolationProperty System.Windows.DependencyProperty
UseAnimatedLayoutProperty System.Windows.DependencyProperty

보호된 메소드들

메소드 설명
AnimatedPanel ( ) : System

Initializes an instance of an AnimatedPanel.

ArrangeElement ( UIElement element, Rect finalRect ) : void

Arranges the element by animating it to the specified bounds.

ArrangeElement ( UIElement element, Rect finalRect, bool isAnimated ) : void

Arranges the element by optionally animating it to the specified bounds.

BeginArrange ( ) : void

Creates a new layout animation when an arrange pass starts.

EndArrange ( ) : void

Plays the current layout animation when an arrange pass is completed.

GetInitialRect ( Size panelSize, Rect elementRect, UIElement element ) : Rect

Gets the initial bounds of an element.

메소드 상세

AnimatedPanel() 보호된 메소드

Initializes an instance of an AnimatedPanel.
protected AnimatedPanel ( ) : System
리턴 System

ArrangeElement() 보호된 메소드

Arranges the element by animating it to the specified bounds.
protected ArrangeElement ( UIElement element, Rect finalRect ) : void
element UIElement The element to animate and arrange.
finalRect System.Windows.Rect The bounds that the element should use once it is arranged.
리턴 void

ArrangeElement() 보호된 메소드

Arranges the element by optionally animating it to the specified bounds.
protected ArrangeElement ( UIElement element, Rect finalRect, bool isAnimated ) : void
element UIElement The element to animate and arrange.
finalRect System.Windows.Rect The bounds that the element should use once it is arranged.
isAnimated bool Whether to animate the element or just arrange it immediately.
리턴 void

BeginArrange() 보호된 메소드

Creates a new layout animation when an arrange pass starts.
protected BeginArrange ( ) : void
리턴 void

EndArrange() 보호된 메소드

Plays the current layout animation when an arrange pass is completed.
protected EndArrange ( ) : void
리턴 void

GetInitialRect() 보호된 메소드

Gets the initial bounds of an element.
protected GetInitialRect ( Size panelSize, Rect elementRect, UIElement element ) : Rect
panelSize System.Windows.Size The size of this panel.
elementRect System.Windows.Rect The computed bounds of the panel.
element UIElement The element whose initial bounds are required.
리턴 System.Windows.Rect

프로퍼티 상세

DurationProperty 공개적으로 정적으로 프로퍼티

Represents the Duration property of an AnimatedPanel.
public static DependencyProperty,System.Windows DurationProperty
리턴 System.Windows.DependencyProperty

InterpolationProperty 공개적으로 정적으로 프로퍼티

Represents the Interpolation property of an AnimatedPanel.
public static DependencyProperty,System.Windows InterpolationProperty
리턴 System.Windows.DependencyProperty

UseAnimatedLayoutProperty 공개적으로 정적으로 프로퍼티

Represents the UseAnimatedLayout property of an AnimatedPanel.
public static DependencyProperty,System.Windows UseAnimatedLayoutProperty
리턴 System.Windows.DependencyProperty