C# Класс FirstFloor.ModernUI.Windows.Controls.TransitioningContentControl

Наследование: System.Windows.Controls.ContentControl
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
IsTransitioningProperty System.Windows.DependencyProperty
RestartTransitionOnContentChangeProperty System.Windows.DependencyProperty
TransitionProperty System.Windows.DependencyProperty

Private Properties

Свойство Тип Описание
GetStoryboard System.Windows.Media.Animation.Storyboard
OnIsTransitioningPropertyChanged void
OnRestartTransitionOnContentChangeChanged void
OnRestartTransitionOnContentChangePropertyChanged void
OnTransitionCompleted void
OnTransitionPropertyChanged void
StartTransition void
TransitioningContentControl System

Открытые методы

Метод Описание
AbortTransition ( ) : void

Aborts the transition and releases the previous content.

OnApplyTemplate ( ) : void

Builds the visual tree for the TransitioningContentControl control when a new template is applied.

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

Метод Описание
OnContentChanged ( object oldContent, object newContent ) : void

Called when the value of the P:System.Windows.Controls.ContentControl.Content property changes.

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

Метод Описание
GetStoryboard ( string newTransition ) : System.Windows.Media.Animation.Storyboard

Attempts to find a storyboard that matches the newTransition name.

OnIsTransitioningPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

IsTransitioningProperty property changed handler.

OnRestartTransitionOnContentChangeChanged ( bool oldValue, bool newValue ) : void

Called when the RestartTransitionOnContentChangeProperty changes.

OnRestartTransitionOnContentChangePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

RestartTransitionOnContentChangeProperty property changed handler.

OnTransitionCompleted ( object sender, EventArgs e ) : void

Handles the Completed event of the transition storyboard.

OnTransitionPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

TransitionProperty property changed handler.

StartTransition ( object oldContent, object newContent ) : void

Starts the transition.

TransitioningContentControl ( ) : System

Static constructor

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

AbortTransition() публичный Метод

Aborts the transition and releases the previous content.
public AbortTransition ( ) : void
Результат void

OnApplyTemplate() публичный Метод

Builds the visual tree for the TransitioningContentControl control when a new template is applied.
public OnApplyTemplate ( ) : void
Результат void

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

Called when the value of the P:System.Windows.Controls.ContentControl.Content property changes.
protected OnContentChanged ( object oldContent, object newContent ) : void
oldContent object The old value of the property.
newContent object The new value of the property.
Результат void

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

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

Identifies the IsTransitioning dependency property.
public static DependencyProperty,System.Windows IsTransitioningProperty
Результат System.Windows.DependencyProperty

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

Identifies the RestartTransitionOnContentChange dependency property.
public static DependencyProperty,System.Windows RestartTransitionOnContentChangeProperty
Результат System.Windows.DependencyProperty

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

Identifies the Transition dependency property.
public static DependencyProperty,System.Windows TransitionProperty
Результат System.Windows.DependencyProperty