C# Class Caliburn.Micro.ViewModelBinder

Binds a view to a view model.
Afficher le fichier Open project: dbuksbaum/Learning-Caliburn.Micro Class Usage Examples

Méthodes publiques

Свойство Type Description
ApplyConventionsByDefault bool
Bind Action
BindActions Type>.Action
BindProperties Type>.Action
ConventionsAppliedProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
ShouldApplyConventions ( FrameworkElement view ) : bool

Determines whether a view should have conventions applied to it.

Method Details

ShouldApplyConventions() public static méthode

Determines whether a view should have conventions applied to it.
public static ShouldApplyConventions ( FrameworkElement view ) : bool
view System.Windows.FrameworkElement The view to check.
Résultat bool

Property Details

ApplyConventionsByDefault public_oe static_oe property

Gets or sets a value indicating whether to apply conventions by default.
public static bool ApplyConventionsByDefault
Résultat bool

Bind public_oe static_oe property

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
Résultat Action

BindActions public_oe static_oe property

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
Résultat Type>.Action

BindProperties public_oe static_oe property

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
Résultat Type>.Action

ConventionsAppliedProperty public_oe static_oe property

Indicates whether or not the conventions have alread been applied to the view.
public static DependencyProperty,System.Windows ConventionsAppliedProperty
Résultat System.Windows.DependencyProperty