Allows an editor definition to be specified.
Adding an editor definition to a property grid:
<xctk:PropertyGrid>
<xctk:PropertyGrid.EditorDefinitions>
<xctk:EditorTemplateDefinition ... />
</xctk:PropertyGrid.EditorDefinitions>
</xctk:PropertyGrid>
Create the editor of the FirstName and LastName properties:
<xctk:EditorTemplateDefinition TargetProperties="FirstName,LastName" ... />
Creates the editor of all properties of type "int".
<xctk:EditorTemplateDefinition TargetProperties="{x:Type s:Int32}" ... />
Creates the editor of all properties named "Age" and/or of type "int":
<xctk:EditorTemplateDefinition ... >
<xctk:EditorTemplateDefinition.TargetProperties>
<s:String>Age</s:String>
<xctk:TargetPropertyType Type="{x:Type s:Int32}" />
</xctk:EditorTemplateDefinition.TargetProperties>
</xctk:EditorTemplateDefinition>
Target Platforms: Windows 11, Windows 10, 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