C# Класс Caliburn.Micro.ViewModelBinder

Binds a view to a view model.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ApplyConventionsByDefault bool
Bind Action
BindActions Type>.Action
BindProperties Type>.Action
ConventionsAppliedProperty System.Windows.DependencyProperty

Открытые методы

Метод Описание
ShouldApplyConventions ( FrameworkElement view ) : bool

Determines whether a view should have conventions applied to it.

Описание методов

ShouldApplyConventions() публичный статический Метод

Determines whether a view should have conventions applied to it.
public static ShouldApplyConventions ( FrameworkElement view ) : bool
view System.Windows.FrameworkElement The view to check.
Результат bool

Описание свойств

ApplyConventionsByDefault публичное статическое свойство

Gets or sets a value indicating whether to apply conventions by default.
public static bool ApplyConventionsByDefault
Результат bool

Bind публичное статическое свойство

Binds the specified viewModel to the view.
Passes the the view model, view and creation context (or null for default) to use in applying binding.
public static Action Bind
Результат Action

BindActions публичное статическое свойство

Attaches instances of ActionMessage to the view's controls based on the provided methods.
Parameters include the named elements to search through and the type of view model to determine conventions for.
public static Action,Type> BindActions
Результат Type>.Action

BindProperties публичное статическое свойство

Creates data bindings on the view's controls based on the provided properties.
Parameters include named Elements to search through and the type of view model to determine conventions for.
public static Action,Type> BindProperties
Результат Type>.Action

ConventionsAppliedProperty публичное статическое свойство

Indicates whether or not the conventions have alread been applied to the view.
public static DependencyProperty,System.Windows ConventionsAppliedProperty
Результат System.Windows.DependencyProperty