Interface IDialogViewModelProvider
The binding source for the current dialog view and the attached property DialogDataContextProperty.
Namespace: BionicCode.Utilities.Net
Assembly: BionicCode.Utilities.Net.Wpf.dll
Syntax
public interface IDialogViewModelProvider
Remarks
The IDialogViewModel can be received from instances that implement IDialogViewModelProviderSource by subscribing to their DialogRequested event. When used together with the attached DialogDataContextProperty the setting of the DialogViewModel property automatically triggers the showing of a dialog. The IDialogViewModel is rendered by a custom defined DataTemplate that targets the concrete type of a IDialogViewModel implementation.
Properties
| Improve this Doc View SourceDialogViewModel
The binding source for the current dialog view.
Declaration
IDialogViewModel DialogViewModel { get; }
Property Value
| Type | Description |
|---|---|
| IDialogViewModel |
Remarks
The IDialogViewModel can be received from instances that implement IDialogViewModelProviderSource by subscribing to their DialogRequested event. When used together with the attached DialogDataContextProperty the setting of the DialogViewModel property automatically triggers the showing of a dialog. The IDialogViewModel is rendered by a custom defined DataTemplate that targets the concrete type of a IDialogViewModel implementation.