Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Caliburn
Micro
ViewLocator
C# Class Caliburn.Micro.ViewLocator
A strategy for determining which view to use for a given model.
显示文件
Open project: dbuksbaum/Learning-Caliburn.Micro
Class Usage Examples
Public Properties
Property
Type
Description
DefaultContext
object
GetOrCreateViewType
UIElement>.Func
LocateForModel
Func
LocateForModelType
Func
Property Details
DefaultContext
public_oe static_oe property
The default view context.
public
static
object
DefaultContext
return
object
GetOrCreateViewType
public_oe static_oe property
Retrieves the view from the IoC container or tries to create it if not found.
Pass the type of view as a parameter and recieve an instance of the view.
public
static
Func
GetOrCreateViewType
return
UIElement>.Func
LocateForModel
public_oe static_oe property
Locates the view for the specified model instance.
Pass the model instance, display location (or null) and the context (or null) as parameters and receive a view instance.
public
static
Func
LocateForModel
return
Func
LocateForModelType
public_oe static_oe property
Locates the view for the specified model type.
Pass the model type, display location (or null) and the context instance (or null) as parameters and recieve a view instance.
public
static
Func
LocateForModelType
return
Func