Table of Contents

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

int

Rows

Number of rows (0 = from the child count).

public int Rows { get; set; }

Property Value

int

Spacing

Space between cells.

public float Spacing { get; set; }

Property Value

float

Methods

ArrangeOverride(Rect)

Arranges children inside the final bounds.

protected override void ArrangeOverride(Rect bounds)

Parameters

bounds Rect

MeasureOverride(Size)

Natural size of the content for the available size (margins excluded).

protected override Size MeasureOverride(Size available)

Parameters

available Size

Returns

Size