Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't add nodes items in DarkTreeView, because there is no function in properties to add that #65

Open
MikaCybertron opened this issue Apr 4, 2022 · 3 comments

Comments

@MikaCybertron
Copy link

MikaCybertron commented Apr 4, 2022

can someone help me??

I can't add nodes items in DarkTreeView, because there is no function in properties to add that like the image below. and also how to use SelectedNodesChanged Event??

here is the image:
image

@MikaCybertron MikaCybertron changed the title I can't add nodes items in treeview, because there is no function in properties to add that I can't add nodes items in DarkTreeView, because there is no function in properties to add that Apr 4, 2022
@huynhit24
Copy link

Can you explain more clearly?

@MikaCybertron
Copy link
Author

MikaCybertron commented Apr 17, 2022

Can you explain more clearly?

as you can see in the image above, there is no function in properties like adding collection and something like that, so cause that i have to add it manually with code, and adding manually is annoying and confused for sub items, i was trying to make like this image in below with DarkTreeView, but i can't

image

@RobinPerris
Copy link
Owner

The default node editor isn't compatible with darkui because it uses custom code instead of the in-built dotnet node classes. Adding a custom property editor is a pain in the ass so I never bothered - all the UIs I created with darkui were built programmatically so it wasn't worth the time investment

You can either follow the example and add the nodes through code, or you can extend darkui to have a custom editor. You can find information in the docs here:
https://docs.microsoft.com/en-us/dotnet/api/system.drawing.design.uitypeeditor
https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.design.iwindowsformseditorservice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants