C# 클래스 Open.Core.UI.Controls.ContentContainer

A flexible content container that can safely work with bound UIElements or DataTemplates.
상속: System.Windows.Controls.UserControl
파일 보기 프로젝트 열기: philcockfield/Open.TestHarness.SL 1 사용 예제들

공개 메소드들

메소드 설명
ContentContainer ( ) : System.Windows

Constructor.

CreateViewModel ( ) : IContentContainer

Creates a fresh view-model and assigns it to the ViewModel property.

Typically the a view-model is bound to this property, and so for performance reasons a default view-model is not created. This method allows a "View First" usage of the control.

비공개 메소드들

메소드 설명
ClearContentElement ( ) : void
OnChanged ( ) : void
OnDataContextChanged ( ) : void

메소드 상세

ContentContainer() 공개 메소드

Constructor.
public ContentContainer ( ) : System.Windows
리턴 System.Windows

CreateViewModel() 공개 메소드

Creates a fresh view-model and assigns it to the ViewModel property.
Typically the a view-model is bound to this property, and so for performance reasons a default view-model is not created. This method allows a "View First" usage of the control.
public CreateViewModel ( ) : IContentContainer
리턴 IContentContainer