Create a custom time and time collection editor in WPF

I want to have a custom collections editor dialog box in WPF (for editing a collection property in a user control at design time), preferably by expanding outgoing, but I cannot find the existing one anywhere ...
I am looking for advanced customization (and not just adding elements to the combo-box of the collection editor), for example, implementing a winforms-like editor for treeview in wpf Can someone point me in the right direction?
Is there any other way that I can achieve such a goal (implementation of winforms development time editor)
Here are 2 editors
Wpf Editor: Wpf editor

And Win Form Editor

Winforms editor
You will notice that in the dose of the wpf editor the hierarchy of elements is not displayed, this is the function that most of me are interested in, I would like to see the hierarchy when I edit the tree.

+4
source share
1 answer

Can you use something like PropertyGrid in the extended WPF toolkit? http://wpftoolkit.codeplex.com/wikipage?title=PropertyGrid

You would do it as follows:

<extToolkit:PropertyGrid x:Name="_propertyGrid" Width="450" Margin="10" AutoGenerateProperties="False"> <!-- Only the following properties will be displayed in the PropertyGrid --> <extToolkit:PropertyGrid.PropertyDefinitions> <extToolkit:PropertyDefinition Name="FirstName" /> <extToolkit:PropertyDefinition Name="FavoriteColor" /> <extToolkit:PropertyDefinition Name="PetNames" /> </extToolkit:PropertyGrid.PropertyDefinitions> </extToolkit:PropertyGrid> 
+1
source

Source: https://habr.com/ru/post/1384938/


All Articles