C# 클래스 Caliburn.Micro.ViewModelBinder

Binds a view to a view model.
파일 보기 프로젝트 열기: dbuksbaum/Learning-Caliburn.Micro 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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