C# 클래스 SilverlightFX.UserInterface.View

Represents the top-most view in an application.
상속: System.Windows.Controls.UserControl
파일 보기 프로젝트 열기: nikhilk/silverlightfx

공개 프로퍼티들

프로퍼티 타입 설명
ModelProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
GetViewModel ( System.Windows.Controls.UserControl userControl ) : object

Gets the view model instance attached to the specified control.

SetViewModel ( System.Windows.Controls.UserControl userControl, object value ) : void

Sets the view model instance attached to the specified control. The view model is also used as the DataContext assigned to the control.

View ( ) : System

Initializes an instance of a View.

보호된 메소드들

메소드 설명
OnLoaded ( ) : void

Performs initialization in response to the Loaded event.

비공개 메소드들

메소드 설명
InitializeViewData ( object>.IDictionary viewData ) : void
OnLoaded ( object sender, RoutedEventArgs e ) : void
OnModelPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
View ( UIElement content ) : System

메소드 상세

GetViewModel() 공개 정적인 메소드

Gets the view model instance attached to the specified control.
public static GetViewModel ( System.Windows.Controls.UserControl userControl ) : object
userControl System.Windows.Controls.UserControl The control to lookup.
리턴 object

OnLoaded() 보호된 메소드

Performs initialization in response to the Loaded event.
protected OnLoaded ( ) : void
리턴 void

SetViewModel() 공개 정적인 메소드

Sets the view model instance attached to the specified control. The view model is also used as the DataContext assigned to the control.
public static SetViewModel ( System.Windows.Controls.UserControl userControl, object value ) : void
userControl System.Windows.Controls.UserControl The control to associated the view model with.
value object The view model instance.
리턴 void

View() 공개 메소드

Initializes an instance of a View.
public View ( ) : System
리턴 System

프로퍼티 상세

ModelProperty 공개적으로 정적으로 프로퍼티

Represents the Model attached property.
public static DependencyProperty,System.Windows ModelProperty
리턴 System.Windows.DependencyProperty