© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3mo ago•
4 replies
SlightlyTango

Reorder itemscontrol without resetting the item

Hi.

I have an ItemsControl. It takes in an ObservableCollection, and it generates a long list with input boxes and other forms based on that observablecollection.
I have been trying to reorder items in the list (the application is supposed to be a sort of scriptlike thing), but every time I change the order it resets the textboxes for instance to old values.

Is there a way to do this? Feel like I am going slightly insane, so would be so very thankful for help.
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

WPF: Binding selected item of ComboBox inside ItemsControl
C#CC# / help
15mo ago
Panel.ZIndex not work when the canvas is used as a ItemsControl.ItemsPanel
C#CC# / help
2y ago
❔ WPF binding expression of property from ItemsControl item with viewmodel property
C#CC# / help
4y ago
Wpf Itemscontrol child access
C#CC# / help
4y ago