C# 클래스 Microsoft.Phone.Controls.TransitionFrame

상속: PhoneApplicationFrame
파일 보기 프로젝트 열기: Kinnara/WPToolkit 1 사용 예제들

공개 메소드들

메소드 설명
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, ContentPresenter presenter, ITransition transition ) : void

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, EventArgs e ) : void

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, ContentPresenter presenter, ITransition transition ) : void

Performs a transition when given the appropriate components, includes calling the appropriate start event and ensuring opacity on the content presenter.

PrepareContentPresenterForCompositor ( ContentPresenter presenter, bool applyBitmapCache = true ) : void

Updates the content presenter for off-thread compositing for the transition animation. Also disables interactivity on it to prevent accidental touches.

RestoreContentPresenterInteractivity ( ContentPresenter presenter ) : void

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.

메소드 상세

OnApplyTemplate() 공개 메소드

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.
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 .
newContent object The new .
리턴 void

TransitionFrame() 공개 메소드

Initialzies a new instance of the TransitionFrame class.
public TransitionFrame ( ) : System
리턴 System