HiIs it possible, to define multiple TargetTypes (e.g. comma seperated) in one EditorDefinition?
<ctrls:AtlaxyPropertryGrid x:Name="xamPropertyGridInParam" Margin="10,0" Visibility="Visible" SelectedObject="{Binding Path=Detail.PropertyPageValue}" DescriptionAreaVisibility="Visible" FilterAreaVisibility="Collapsed" IsCategorized="False"> <ig:XamPropertyGrid.InputBindings> <KeyBinding Command="{x:Static command:RelayCommands.SaveData}" CommandParameter="hallo" Modifiers="Ctrl" Key="S" /> </ig:XamPropertyGrid.InputBindings> <ig:XamPropertyGrid.EditorDefinitions> <ig:PropertyGridEditorDefinition TargetType="{x:Type sys:String}" EditTemplate="{StaticResource SpinIntEditor}"/> <ig:PropertyGridEditorDefinition TargetType="{x:Type sys:Double}" EditTemplate="{StaticResource SpinIntEditor}"/> </ig:XamPropertyGrid.EditorDefinitions> </ctrls:AtlaxyPropertryGrid>
Regards
Hello Stephan,
I have been investigating into your requirement in this case, and at the moment, it is not possible to define multiple types for a single TargetType property. You need to create multiple PropertyGridEditorDefinition elements for this.
If you would like to see the ability to define multiple target types for a single PropertyGridEditorDefinition, I would recommend suggesting a new product idea to have this implemented. You can do this at our WPF Ideas Site, here. This will place you in direct communication with our product management teams who plan and prioritize upcoming features and development based on community and user feedback.
Please let me know if you have any other questions or concerns on this matter.
Hi Andrew
Thanks a lot for your support. I thought I saw a solution somewhere, but then I'm wrong.