Browse Source
Merge pull request #8921 from workgroupengineering/fixes/Core/OnPropertyChanged
fix: missing invoke of base.OnPropertyChanged
pull/8928/head
Max Katz
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with
8 additions and
0 deletions
-
.editorconfig
-
src/Avalonia.Base/Layout/StackLayout.cs
-
src/Avalonia.Base/Layout/UniformGridLayout.cs
-
src/Avalonia.Base/Rotate3DTransform.cs
-
src/Avalonia.Controls/Primitives/Popup.cs
-
src/Avalonia.Controls/SplitButton/ToggleSplitButton.cs
|
|
|
@ -137,6 +137,9 @@ space_within_single_line_array_initializer_braces = true |
|
|
|
# Wrapping preferences |
|
|
|
csharp_wrap_before_ternary_opsigns = false |
|
|
|
|
|
|
|
# Avalonia DevAnalyzer preferences |
|
|
|
dotnet_diagnostic.AVADEV2001.severity = error |
|
|
|
|
|
|
|
# Xaml files |
|
|
|
[*.{xaml,axaml}] |
|
|
|
indent_size = 2 |
|
|
|
|
|
|
|
@ -322,6 +322,7 @@ namespace Avalonia.Layout |
|
|
|
|
|
|
|
protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs change) |
|
|
|
{ |
|
|
|
base.OnPropertyChanged(change); |
|
|
|
if (change.Property == OrientationProperty) |
|
|
|
{ |
|
|
|
var orientation = change.GetNewValue<Orientation>(); |
|
|
|
|
|
|
|
@ -473,6 +473,7 @@ namespace Avalonia.Layout |
|
|
|
|
|
|
|
protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs change) |
|
|
|
{ |
|
|
|
base.OnPropertyChanged(change); |
|
|
|
if (change.Property == OrientationProperty) |
|
|
|
{ |
|
|
|
var orientation = change.GetNewValue<Orientation>(); |
|
|
|
|
|
|
|
@ -205,6 +205,7 @@ public class Rotate3DTransform : Transform |
|
|
|
|
|
|
|
protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs change) |
|
|
|
{ |
|
|
|
base.OnPropertyChanged(change); |
|
|
|
if (!_isInitializing) RaiseChanged(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -524,6 +524,7 @@ namespace Avalonia.Controls.Primitives |
|
|
|
|
|
|
|
protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs change) |
|
|
|
{ |
|
|
|
base.OnPropertyChanged(change); |
|
|
|
if (_openState is not null) |
|
|
|
{ |
|
|
|
if (change.Property == WidthProperty || |
|
|
|
|
|
|
|
@ -92,6 +92,7 @@ namespace Avalonia.Controls |
|
|
|
/// <inheritdoc/>
|
|
|
|
protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs e) |
|
|
|
{ |
|
|
|
base.OnPropertyChanged(e); |
|
|
|
if (e.Property == IsCheckedProperty) |
|
|
|
{ |
|
|
|
OnIsCheckedChanged(); |
|
|
|
|