DialogPropertyValueEditor Class
Container for all dialog-editing logic for PropertyEntry() objects.
System.Activities.Presentation.PropertyEditing::PropertyValueEditor
System.Activities.Presentation.PropertyEditing::DialogPropertyValueEditor
Assembly: System.Activities.Presentation (in System.Activities.Presentation.dll)
The DialogPropertyValueEditor type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | DialogPropertyValueEditor() | Creates a new instance of the DialogPropertyValueEditor class with no specific templates. |
![]() | DialogPropertyValueEditor(DataTemplate, DataTemplate) | Creates a new instance of the DialogPropertyValueEditor class with the specified dialog editor and inline editor templates. |
| Name | Description | |
|---|---|---|
![]() | DialogEditorTemplate | Gets or sets the DataTemplate that is hosted by a host-specific dialog and has its DataContext set to a PropertyValue. |
![]() | InlineEditorTemplate | Gets or sets the InlineEditorTemplate, the DataTemplate that is used for an inline editor. (Inherited from PropertyValueEditor.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ShowDialog | Called when the DialogEditorTemplate is null and a dialog has been invoked by the user. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Use the DialogPropertyValueEditor class to show an inline editor that can have an associated dialog box editor.
The DialogPropertyValueEditor class can hold either a DataTemplate for a dialog box editor or custom logic that is called when the dialog box is invoked.
Use the EditModeSwitchButton in your DataTemplate to invoke your custom DialogPropertyValueEditor class.
You can provide a DataTemplate which is shown in a host dialog box, or you can override the ShowDialog method, which enables the reuse of existing or system dialog boxes.
The following list shows the rules for determining whether the DataTemplate or ShowDialog method is used.
If the DialogEditorTemplate property is not a reference (Nothing in Visual Basic), that DataTemplate is hosted in a host-specific dialog box, which provides host styling. The ShowDialog is not called.
If the DialogEditorTemplate property is a reference (Nothing in Visual Basic), the virtual ShowDialog method is called and you can override this method to show any dialog box.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
