Parameters |
Description |
PropertyId |
Identifier of the property (= Property number) |
PropertyIndex |
Index of the property |
PropertyIdentName |
Identifying name of the user-defined property |
Action |
This action is called to edit the specified property. |
Editable |
|
Register |
|
This action can be used to change the behavior of properties in a property table. When you edit a property in a property table a [...] button is displayed instead of the standard control element. When you click the [...] button, the specified action is started and you can change the displayed value in an own dialog with the specified call context.
Call context of the registered action is:
Parameter
|
Identifier of the property |
|
Index of the property |
|
Identifying name of the user-defined property |
|
Object ID of the object to which the property belongs. Only the first object ID is transferred for multiple selection. |
|
Displayed string or multilingual string |
Returned values
|
1 for OK |
|
1 for modified |
|
New display value or new multilingual string |
Register an editing dialog for the property Supplementary field (ID 20901):
RegisterCustomPropertyEditorAction /Register:1 /Action:WPF_Demo_Custom_Editor /PropertyId:20901 /PropertyIndex:1 /Editable:0
Unregister an editing dialog for the property Supplementary field (ID 20901):
RegisterCustomPropertyEditorAction /Register:0 /Action:WPF_Demo_Custom_Editor /PropertyId:20901 /PropertyIndex:1
Register an editing dialog for a user-defined property:
RegisterCustomPropertyEditorAction /Register:1 /Action:WPF_Demo_Custom_Editor /PropertyIdentName:EPLAN.Page.UserSupplementaryField2 /Editable:1
Unregister an editing dialog for a user-defined property:
RegisterCustomPropertyEditorAction /Register:0 /Action:WPF_Demo_Custom_Editor /PropertyIdentName:EPLAN.Page.UserSupplementaryField2