© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
5 replies
Sunday

✅ Add grid dynamically from MainWindow to SecondaryWindow

Hi everyone,
My program is base on C# WPF .NET.
I want to use a button which is in Main window to add a grid to secondary window. But the grid can't be updated in secondary window. If the button is in secondary window, the grid can be updated successfully.
Do somebody know this problems?
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

How to Dynamically add item to List?
C#CC# / help
3y ago
How to refer to the mainwindow class from another class.
C#CC# / help
2y ago
❔ How to add image to Grid.Column
C#CC# / help
3y ago