Jumar Macato
7 years ago
No known key found for this signature in database
GPG Key ID: B19884DAC3A5BF3F
1 changed files with
2 additions and
1 deletions
-
src/Avalonia.Controls/Grid.cs
|
|
|
@ -32,10 +32,12 @@ namespace Avalonia.Controls |
|
|
|
{ |
|
|
|
IsSharedSizeScopeProperty.Changed.AddClassHandler<Control>(DefinitionBase.OnIsSharedSizeScopePropertyChanged); |
|
|
|
ShowGridLinesProperty.Changed.AddClassHandler<Grid>(OnShowGridLinesPropertyChanged); |
|
|
|
|
|
|
|
ColumnProperty.Changed.AddClassHandler<Grid>(OnCellAttachedPropertyChanged); |
|
|
|
ColumnSpanProperty.Changed.AddClassHandler<Grid>(OnCellAttachedPropertyChanged); |
|
|
|
RowProperty.Changed.AddClassHandler<Grid>(OnCellAttachedPropertyChanged); |
|
|
|
RowSpanProperty.Changed.AddClassHandler<Grid>(OnCellAttachedPropertyChanged); |
|
|
|
AffectsParentMeasure<Grid>(ColumnProperty, ColumnSpanProperty, RowProperty, RowSpanProperty); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
@ -2925,7 +2927,6 @@ namespace Avalonia.Controls |
|
|
|
&& grid.ListenToNotifications ) |
|
|
|
{ |
|
|
|
grid.CellsStructureDirty = true; |
|
|
|
grid.InvalidateMeasure(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|