Share via


PropertyContainer.OpenDialogWindow Property

Gets the command that is raised when the ActiveEditMode property is changed to Dialog.

Namespace:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Shared ReadOnly Property OpenDialogWindow As RoutedCommand
    Get
public static RoutedCommand OpenDialogWindow { get; }
public:
static property RoutedCommand^ OpenDialogWindow {
    RoutedCommand^ get ();
}
static member OpenDialogWindow : RoutedCommand
static function get OpenDialogWindow () : RoutedCommand

Property Value

Type: System.Windows.Input.RoutedCommand
A RoutedCommand that is raised when the ActiveEditMode property is changed to Dialog.

Remarks

The host may choose to handle this command and display the DialogEditorTemplate (if one exists) in a host-specific dialog container. If the host does not handle this command (the CanExecute method returns false), the PropertyContainer itself defaults to calling into the virtual DialogPropertyValueEditor.ShowDialog method, but only if DialogPropertyValueEditor is found.

.NET Framework Security

See Also

Reference

PropertyContainer Class

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

WPF Designer Extensibility

Property Editing Architecture