Property | Type | Description | |
---|---|---|---|
ColumnsProperty | |||
FirstColumnProperty | |||
RowsProperty |
Property | Type | Description | |
---|---|---|---|
OnIntegerDependencyPropertyChanged | void | ||
UpdateComputedValues | void |
Method | Description | |
---|---|---|
UniformGrid ( ) : System |
Initializes a new instance of UniformGrid.
|
Method | Description | |
---|---|---|
ArrangeOverride ( |
Arrange the children of the UniformGrid by distributing space evenly among the children, making each child the size equal to a cell portion of the arrangeSize parameter.
|
|
MeasureOverride ( |
Compute the desired size of the UniformGrid by measuring all of the children with a constraint equal to a cell's portion of the given constraint. The maximum child width and maximum child height are tracked, and then the desired size is computed by multiplying these maximums by the row and column count.
|
Method | Description | |
---|---|---|
OnIntegerDependencyPropertyChanged ( |
Validate the new property value and silently revert if the new value is not appropriate. Used in place of WPF value coercian by the dependency properties in UniformGrid.
|
|
UpdateComputedValues ( ) : void |
If the Rows or Columns values are set to 0, dynamically compute the values based on the actual number of non-collapsed children. In the case when both Rows and Columns are set to 0, the Rows and Columns will be equal, laying out a square grid. |
protected ArrangeOverride ( |
||
arrangeSize | The arrange size. | |
return |
protected MeasureOverride ( |
||
constraint | The size constraint. | |
return |
public static DependencyProperty,Windows.UI.Xaml ColumnsProperty | ||
return |
public static DependencyProperty,Windows.UI.Xaml FirstColumnProperty | ||
return |