public ConvertedSourceBinding(INotifyPropertyChanged source, PropertyInfo srcProp, IBindableElement target, PropertyInfo targetProp, IValueConverter?valueConverter, IPropertyAccessor sourcePropertyAccessor) : base(source, srcProp, target, targetProp, valueConverter, sourcePropertyAccessor) { }
public ConvertedSourceBinding(INotifyPropertyChanged source, String sourceProperty, IBindableElement target, String targetProperty, IValueConverter?valueConverter, IPropertyAccessor sourcePropertyAccessor) : base(source, sourceProperty, target, targetProperty, valueConverter, sourcePropertyAccessor) { }
public ViewWindow Show <TViewModel>(TViewModel viewModel, IBindableElement view) //where TViewModel : IViewModel { var control = new GdiHostedElement(view); var form = new ViewWindow(control); Cook(form); view.DataContext = viewModel; WindowShown?.Invoke(form); return(form); }