Table of Contents

Enum DialogHostOpenDialogCommandDataContextSource

Namespace
HeBianGu.Control.Message
Assembly
HeBianGu.Control.Message.dll

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 = 1

The data context from the DialogHost is applied to the content.

None = 2

The data context is explicitly set to null.

SenderElement = 0

The data context from the sender element (typically a Button) is applied to the content.