Enum DialogHostOpenDialogCommandDataContextSource
Defines how a data context is sourced for a dialog if a FrameworkElement is passed as the command parameter when using OpenDialogCommand.
public enum DialogHostOpenDialogCommandDataContextSource
- Extension Methods
Fields
DialogHostInstance = 1The data context from the DialogHost is applied to the content.
None = 2The data context is explicitly set to
null.SenderElement = 0The data context from the sender element (typically a Button) is applied to the content.