C# Class withSIX.Core.Applications.MVVM.ViewModels.ReactiveViewAware

Inheritance: ReactiveValidatableObjectBase, IViewAware
Afficher le fichier Open project: SIXNetworks/withSIX.Desktop

Méthodes publiques

Свойство Type Description
CacheViewsByDefault bool
DefaultContext object

Protected Properties

Свойство Type Description
Views object>.IDictionary

Méthodes publiques

Méthode Description
GetView ( object context = null ) : object

Gets a view previously attached to this instance.

ReactiveViewAware ( ) : Windows.UI.Xaml

Creates an instance of ReactiveViewAware.

ReactiveViewAware ( bool cacheViews ) : Windows.UI.Xaml

Creates an instance of ReactiveViewAware.

Méthodes protégées

Méthode Description
OnViewAttached ( object view, object context ) : void

Called when a view is attached.

OnViewLoaded ( object view ) : void

Called when an attached view's Loaded event fires.

OnViewReady ( object view ) : void

Called the first time the page's LayoutUpdated event fires after it is navigated to.

Private Methods

Méthode Description
AttachViewReadyOnActivated ( IActivate activatable, object nonGeneratedView ) : void
IViewAware ( object view, object context ) : void

Method Details

GetView() public méthode

Gets a view previously attached to this instance.
public GetView ( object context = null ) : object
context object The context denoting which view to retrieve.
Résultat object

OnViewAttached() protected méthode

Called when a view is attached.
protected OnViewAttached ( object view, object context ) : void
view object The view.
context object The context in which the view appears.
Résultat void

OnViewLoaded() protected méthode

Called when an attached view's Loaded event fires.
protected OnViewLoaded ( object view ) : void
view object
Résultat void

OnViewReady() protected méthode

Called the first time the page's LayoutUpdated event fires after it is navigated to.
protected OnViewReady ( object view ) : void
view object
Résultat void

ReactiveViewAware() public méthode

Creates an instance of ReactiveViewAware.
public ReactiveViewAware ( ) : Windows.UI.Xaml
Résultat Windows.UI.Xaml

ReactiveViewAware() public méthode

Creates an instance of ReactiveViewAware.
public ReactiveViewAware ( bool cacheViews ) : Windows.UI.Xaml
cacheViews bool Indicates whether or not this instance maintains a view cache.
Résultat Windows.UI.Xaml

Property Details

CacheViewsByDefault public_oe static_oe property

Indicates whether or not implementors of IViewAware should cache their views by default.
public static bool CacheViewsByDefault
Résultat bool

DefaultContext public_oe static_oe property

The default view context.
public static object DefaultContext
Résultat object

Views protected_oe property

The view chache for this instance.
protected IDictionary Views
Résultat object>.IDictionary