C# Class withSIX.Core.Presentation.Wpf.Views.Controls.ViewModelViewHostFixed

This content control will automatically load the View associated with the ViewModel property and display it. This control is very useful inside a DataTemplate to display the View associated with a ViewModel. This variant works around a bug in the original when updating ViewContractObservable
Inheritance: ReactiveUI.TransitioningContentControl, IViewFor, IEnableLogger
Show file Open project: SIXNetworks/withSIX.Desktop

Public Properties

Property Type Description
DefaultContentProperty System.Windows.DependencyProperty
ViewContractObservableProperty System.Windows.DependencyProperty
ViewModelProperty System.Windows.DependencyProperty

Public Methods

Method Description
ViewModelViewHostFixed ( ) : System

Private Methods

Method Description
somethingChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs ) : void

Method Details

ViewModelViewHostFixed() public method

public ViewModelViewHostFixed ( ) : System
return System

Property Details

DefaultContentProperty public static property

public static DependencyProperty,System.Windows DefaultContentProperty
return System.Windows.DependencyProperty

ViewContractObservableProperty public static property

public static DependencyProperty,System.Windows ViewContractObservableProperty
return System.Windows.DependencyProperty

ViewModelProperty public static property

public static DependencyProperty,System.Windows ViewModelProperty
return System.Windows.DependencyProperty