These are chat archives for AvaloniaUI/Avalonia
I'm playing with custom controls, for example I have a custom textbox (subclass of TextBox) that has 2 new StyledProperties (MaximumValue, MinimumValue).
In my Xaml, I have something like this
<controls:CustomTextBox Text="15" MinimumValue="10" />.
MinimumValue setter in my
CustomTextBox class is never called. The
OnPropertyChanged event detects the change in that property.
My question is, I must handle the
OnPropertyChanged event, and make the call to the
MinimumValue setter, or the setter should be called automatically when the value is set in XAML?