Dela 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 (in Microsoft.Windows.Design.dll)

Syntax

'Declaration
Public Shared ReadOnly Property OpenDialogWindow As RoutedCommand
'Usage
Dim value As RoutedCommand 

value = PropertyContainer.OpenDialogWindow
public static RoutedCommand OpenDialogWindow { get; }
public:
static property RoutedCommand^ OpenDialogWindow {
    RoutedCommand^ get ();
}
public 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

PropertyContainer Members

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

WPF Designer Extensibility

Property Editing Architecture