© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•16mo ago•
17 replies
reeeeeee

Saving Draggable objects location wpf

I have like 10 different objects which can be draggable across canvas (textboxes, labels, WrapPanels, DockPanels, etc).
I would like to save their location so it will be shown after the restart.
What would be the best way to achieve that?
Obviously i could do like 3 bindable properties for each object (vlaue, positionX, positionY), but that would be 30 properties which would be really messy and like 150 lines of code (with mvvvm binding). Any idea?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ draggable window
C#CC# / help
4y ago
✅ WPF UI (lepoco/wpfui) Questions
C#CC# / help
2y ago
❔ Saving input correctly to a list in WPF
C#CC# / help
3y ago
Dynamicly scaling objects to window size in Wpf
C#CC# / help
15mo ago