C# Класс Open.Core.Common.AttachedBehavior.SizeAnimation

An attached-property animation that alters the size of the element.
Наследование: PropertyAnimation
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
HeightPropertyNameProperty System.Windows.DependencyProperty
SyncSizeOnLoadProperty System.Windows.DependencyProperty
WidthPropertyNameProperty System.Windows.DependencyProperty

Защищенные методы

Метод Описание
Initialize ( ) : void
OnViewModelPropertyChanged ( string propertyName ) : void

Приватные методы

Метод Описание
Animate ( double fromValue, double toValue, string propertyName ) : void
AnimateHeight ( ) : void
AnimateWidth ( ) : void
GetDimensionValue ( string propertyName ) : double?
SyncSize ( ) : void

Описание методов

Initialize() защищенный Метод

protected Initialize ( ) : void
Результат void

OnViewModelPropertyChanged() защищенный Метод

protected OnViewModelPropertyChanged ( string propertyName ) : void
propertyName string
Результат void

Описание свойств

HeightPropertyNameProperty публичное статическое свойство

Gets or sets the name of the double property that specifies the 'Height' value to monitor on the ViewModel.
public static DependencyProperty,System.Windows HeightPropertyNameProperty
Результат System.Windows.DependencyProperty

SyncSizeOnLoadProperty публичное статическое свойство

Gets or sets whether the initial size of the element should be synced with the view-model upon loading.
public static DependencyProperty,System.Windows SyncSizeOnLoadProperty
Результат System.Windows.DependencyProperty

WidthPropertyNameProperty публичное статическое свойство

Gets or sets the name of the double property that specifies the 'Width' value to monitor on the ViewModel.
public static DependencyProperty,System.Windows WidthPropertyNameProperty
Результат System.Windows.DependencyProperty