Browse Source
Added missing AffectsMeasure to UniformGrid.
pull/3087/head
José Pedro
7 years ago
No known key found for this signature in database
GPG Key ID: B8247B9301707B83
1 changed files with
5 additions and
0 deletions
-
src/Avalonia.Controls/Primitives/UniformGrid.cs
|
|
|
@ -28,6 +28,11 @@ namespace Avalonia.Controls.Primitives |
|
|
|
private int _rows; |
|
|
|
private int _columns; |
|
|
|
|
|
|
|
static UniformGrid() |
|
|
|
{ |
|
|
|
AffectsMeasure<UniformGrid>(RowsProperty, ColumnsProperty, FirstColumnProperty); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Specifies the row count. If set to 0, row count will be calculated automatically.
|
|
|
|
/// </summary>
|
|
|
|
|