Browse Source
Merge pull request #3087 from jp2masa/uniformgrid-affectsmeasure
Added missing AffectsMeasure to UniformGrid
pull/3099/head
Steven Kirk
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>
|
|
|
|
|