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
Since the last update to 11.2.0.7 the following is not working anymore.
Code is not part of a template binding or something and worked exactly like this in a earlier version.
VIEW MODEL:
private string mystring= "";
internal string MyString
{
get { return mystring; }
set
{
SetProperty(ref mystring, value);
}
}
It seems like ChangePropertyAction.Value binding is updated with delay, it uses prior value for binding while DataTriggerBehavior.Binding uses newer value. Seems like when using StyledElement as base class for actions e.g. ChangePropertyAction is causes this issue, if I revert to Action that inherits from AvaloniaObject it works. Looks like some kind of Avalonia bug ?
So the issue is that avalonia property changed event has different order when you change base class from AvaloniaObject to StyledElement.
Since the last update to 11.2.0.7 the following is not working anymore.
Code is not part of a template binding or something and worked exactly like this in a earlier version.
VIEW MODEL:
XAML:
The text was updated successfully, but these errors were encountered: