C# Класс System.Windows.Controls.AnimatedPanel

A base class for all panels providing animated layout.
Наследование: System.Windows.Controls.Panel
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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