Метод | Описание | |
---|---|---|
OnApplyTemplate ( ) : void |
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call M:System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application.
|
|
TransitionFrame ( ) : System |
Initialzies a new instance of the TransitionFrame class.
|
Метод | Описание | |
---|---|---|
OnContentChanged ( object oldContent, object newContent ) : void |
Called when the value of the P:System.Windows.Controls.ContentControl.Content property changes.
|
Метод | Описание | |
---|---|---|
CompleteTransition ( Microsoft.Phone.Controls.NavigationTransition navigationTransition, |
Completes a transition operation by stopping it, restoring interactivity, and then firing the OnEndTransition event.
|
|
EnsureLastTransitionIsComplete ( ) : void |
Stops the last navigation transition if it's active and a new navigation occurs.
|
|
EnsureStoppedTransition ( ITransition transition ) : void |
This checks to make sure that, if the transition not be in the clock state of Stopped, that is will be stopped.
|
|
FlipPresenters ( ) : void |
Flips the logical content presenters to prepare for the next visual transition.
|
|
OnExitTransitionCompleted ( object sender, |
Handles the completion of the exit transition, automatically continuing to bring in the new element's transition as well if it is ready.
|
|
OnNavigating ( object sender, System.Windows.Navigation.NavigatingCancelEventArgs e ) : void |
Handles the Navigating event of the frame, the immediate way to begin a transition out before the new page has loaded or had its layout pass.
|
|
OnNavigationStopped ( object sender, System.Windows.Navigation.NavigationEventArgs e ) : void |
Handles the NavigationStopped event of the frame. Set a value indicating that the navigation is cancelled.
|
|
PerformTransition ( Microsoft.Phone.Controls.NavigationTransition navigationTransition, |
Performs a transition when given the appropriate components, includes calling the appropriate start event and ensuring opacity on the content presenter.
|
|
PrepareContentPresenterForCompositor ( |
Updates the content presenter for off-thread compositing for the transition animation. Also disables interactivity on it to prevent accidental touches.
|
|
RestoreContentPresenterInteractivity ( |
Restores the interactivity for the presenter post-animation, also removes the BitmapCache value.
|
|
TransitionNewContent ( ITransition newTransition, NavigationInTransition navigationInTransition ) : void |
Transitions the new T:System.Windows.UIElement.
|
protected OnContentChanged ( object oldContent, object newContent ) : void | ||
oldContent | object | The old |
newContent | object | The new |
Результат | void |