Class UniformGrid
- Namespace
- PluginUI
- Assembly
- PluginUI.dll
Grid with equal cells; children fill it in order.
public class UniformGrid : Panel
- Inheritance
-
UniformGrid
- Inherited Members
Properties
Columns
Number of columns (0 = automatic, square-ish).
public int Columns { get; set; }
Property Value
Rows
Number of rows (0 = from the child count).
public int Rows { get; set; }
Property Value
Spacing
Space between cells.
public float Spacing { get; set; }
Property Value
Methods
ArrangeOverride(Rect)
Arranges children inside the final bounds.
protected override void ArrangeOverride(Rect bounds)
Parameters
boundsRect
MeasureOverride(Size)
Natural size of the content for the available size (margins excluded).
protected override Size MeasureOverride(Size available)
Parameters
availableSize