PropertyContainer.DialogCommandSource Property
Gets or sets the IInputElement to pass to the DialogPropertyValueEditor.ShowDialog method as the command source.
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Property DialogCommandSource As IInputElement
Get
Set
public IInputElement DialogCommandSource { get; set; }
public:
property IInputElement^ DialogCommandSource {
IInputElement^ get ();
void set (IInputElement^ value);
}
member DialogCommandSource : IInputElement with get, set
function get DialogCommandSource () : IInputElement
function set DialogCommandSource (value : IInputElement)
Property Value
Type: System.Windows.IInputElement
An IInputElement to pass to the DialogPropertyValueEditor.ShowDialog method as the command source.
Dependency Property Information
Identifier field |
|
Metadata properties set to true |
None |
Remarks
If this property is not explicitly set, the current control will be passed as the command source.
Note
The DialogPropertyValueEditor.ShowDialog method is called on a DialogPropertyValueEditor instance if a dialog editor is invoked and the editor does not specify a dialog DataTemplate.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.PropertyEditing Namespace