C# Class Open.Core.UI.Controls.ContentContainer

A flexible content container that can safely work with bound UIElements or DataTemplates.
Inheritance: System.Windows.Controls.UserControl
Afficher le fichier Open project: philcockfield/Open.TestHarness.SL Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
ClearContentElement ( ) : void
OnChanged ( ) : void
OnDataContextChanged ( ) : void

Method Details

ContentContainer() public méthode

Constructor.
public ContentContainer ( ) : System.Windows
Résultat System.Windows

CreateViewModel() public méthode

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