Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
PropertyGridEditorDefinition: TargetType
posted

Hi
Is 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