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

XAML Hot Reload Support #20

Open
Bush-cat opened this issue Jun 10, 2024 · 2 comments
Open

XAML Hot Reload Support #20

Bush-cat opened this issue Jun 10, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Bush-cat
Copy link

Could we possibly fix XAML hot reload?

When you make changes to the Xaml while using Hot Reload, you will encounter a Warning:
This change is not supported by XAML Hot Reload and will not be applied during the debugging session.
or Error: Failed to retrieve the child at index 5.

Also the debugger stops working when using the live preview on the tables.

Thank you for your work on TableView!
This Addition is not essential for me but it would make working in XAML easier.

@Bush-cat Bush-cat added the enhancement New feature or request label Jun 10, 2024
@w-ahmad
Copy link
Owner

w-ahmad commented Aug 15, 2024

I believe this is the limitation of the HotReload for the WinUI at the time. I tried a couple of things, but this doesn't work.

@w-ahmad
Copy link
Owner

w-ahmad commented Nov 21, 2024

I've just learned that Xaml Hot Reload can work if TableViewColumnsCollection inherits from DependencyObjectCollection. It seems like a significant effort is needed, but I'm willing to implement it in v1.3.0

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

No branches or pull requests

2 participants