You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Runtime changes made to a base class's content are not reflected by the app. In the attached example, there is a MainPageBase class that is responsible for rendering the content. If you made any change at runtime to this content you won't be able to see it reflected on the UI. If you restart the app you will see the change applied
public sealed partial class MainPage : MainPageBase
{
}
public partial class MainPageBase : Page
{
public MainPageBase()
{
this.DataContext<MainViewModel>((page, vm) => page
.Content(new Grid()
.Children(...);
}
}
Expected behavior
At runtime, you should see the changes made to the content of a base class
How to reproduce it (as minimally and precisely as possible)
Current behavior
Runtime changes made to a base class's content are not reflected by the app. In the attached example, there is a MainPageBase class that is responsible for rendering the content. If you made any change at runtime to this content you won't be able to see it reflected on the UI. If you restart the app you will see the change applied
Expected behavior
At runtime, you should see the changes made to the content of a base class
How to reproduce it (as minimally and precisely as possible)
UnoApp1.zip
To reproduce the issue:
You should see this change reflected on the form.
Workaround
No response
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
No response
Affected platforms
No response
IDE
Visual Studio 2022
IDE version
Microsoft Visual Studio Community 2022 (64-bit) - Preview Version 17.10.0 Preview 1.0
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: