C# 클래스 Catel.MVVM.Views.ViewStack

Class containing a view stack and whether the stack is currently loaded.
파일 보기 프로젝트 열기: Catel/Catel 1 사용 예제들

공개 메소드들

메소드 설명
AddChild ( IView view, ViewStack parentViewStack ) : bool

Adds a new child to the stack.

AddChild ( ViewStack viewStack, ViewStack parentViewStack ) : bool

Adds a new child to the stack.

CheckForOutdatedChildren ( ) : void

Checks for outdated children and removes them if necessary.

ContainsView ( IView view ) : bool

Determines whether this view stack contains the specified view.

Dispose ( ) : void

Disposes this instance. Not using IDisposable to prevent other auto systems from kicking in.

MarkAsLoaded ( ) : void

Marks the view stack as loaded.

MarkAsUnloaded ( ) : void

Marks the view stack as unloaded.

NotifyThatParentIsReadyToAcceptLoadedMessages ( ) : void

Notifies the that parent is ready to accept loaded messages.

ViewStack ( IView view, bool isViewLoaded ) : System

Initializes a new instance of the ViewStack class.

비공개 메소드들

메소드 설명
OnChildViewLoaded ( object sender, Catel.MVVM.Views.ViewStackPartEventArgs e ) : void
OnChildViewStackLoaded ( object sender, Catel.MVVM.Views.ViewStackPartEventArgs e ) : void
OnChildViewStackUnloaded ( object sender, Catel.MVVM.Views.ViewStackPartEventArgs e ) : void
OnChildViewUnloaded ( object sender, Catel.MVVM.Views.ViewStackPartEventArgs e ) : void
OnParentViewStackLoaded ( object sender, Catel.MVVM.Views.ViewStackPartEventArgs e ) : void
OnViewLayoutUpdated ( object sender, EventArgs e ) : void
OnViewLoaded ( object sender, EventArgs e ) : void
OnViewUnloaded ( object sender, EventArgs e ) : void
RaiseViewLoaded ( ) : void
RaiseViewUnloaded ( ) : void
SubscribeLayoutUpdated ( ) : void
UnsubscribeLayoutUpdated ( ) : void
ViewStack ( IView view, bool isViewLoaded, ViewStack parentViewStack ) : System

Initializes a new instance of the ViewStack class.

메소드 상세

AddChild() 공개 메소드

Adds a new child to the stack.
public AddChild ( IView view, ViewStack parentViewStack ) : bool
view IView The view.
parentViewStack ViewStack The parent view stack.
리턴 bool

AddChild() 공개 메소드

Adds a new child to the stack.
public AddChild ( ViewStack viewStack, ViewStack parentViewStack ) : bool
viewStack ViewStack The view stack.
parentViewStack ViewStack The parent view stack.
리턴 bool

CheckForOutdatedChildren() 공개 메소드

Checks for outdated children and removes them if necessary.
public CheckForOutdatedChildren ( ) : void
리턴 void

ContainsView() 공개 메소드

Determines whether this view stack contains the specified view.
public ContainsView ( IView view ) : bool
view IView The view.
리턴 bool

Dispose() 공개 메소드

Disposes this instance. Not using IDisposable to prevent other auto systems from kicking in.
public Dispose ( ) : void
리턴 void

MarkAsLoaded() 공개 메소드

Marks the view stack as loaded.
public MarkAsLoaded ( ) : void
리턴 void

MarkAsUnloaded() 공개 메소드

Marks the view stack as unloaded.
public MarkAsUnloaded ( ) : void
리턴 void

NotifyThatParentIsReadyToAcceptLoadedMessages() 공개 메소드

Notifies the that parent is ready to accept loaded messages.
public NotifyThatParentIsReadyToAcceptLoadedMessages ( ) : void
리턴 void

ViewStack() 공개 메소드

Initializes a new instance of the ViewStack class.
public ViewStack ( IView view, bool isViewLoaded ) : System
view IView The view.
isViewLoaded bool if set to true, the view is loaded.
리턴 System