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

Inheritance: ReactiveValidatableObjectBase, IViewAware
Datei anzeigen Open project: SIXNetworks/withSIX.Desktop

Public Properties

Property Type Description
CacheViewsByDefault bool
DefaultContext object

Protected Properties

Property Type Description
Views object>.IDictionary

Public Methods

Method 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.

Protected Methods

Method 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

Method Description
AttachViewReadyOnActivated ( IActivate activatable, object nonGeneratedView ) : void
IViewAware ( object view, object context ) : void

Method Details

GetView() public method

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

OnViewAttached() protected method

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.
return void

OnViewLoaded() protected method

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

OnViewReady() protected method

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

ReactiveViewAware() public method

Creates an instance of ReactiveViewAware.
public ReactiveViewAware ( ) : Windows.UI.Xaml
return Windows.UI.Xaml

ReactiveViewAware() public method

Creates an instance of ReactiveViewAware.
public ReactiveViewAware ( bool cacheViews ) : Windows.UI.Xaml
cacheViews bool Indicates whether or not this instance maintains a view cache.
return 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
return bool

DefaultContext public_oe static_oe property

The default view context.
public static object DefaultContext
return object

Views protected_oe property

The view chache for this instance.
protected IDictionary Views
return object>.IDictionary