LayoutExtensions

Contains extension methods for .

Contains extension methods for Layout.

Methods

public static Layout MinimumSize(Layout layout, int size)

Sets the minimum width of the layout.

Parameters:

layout (Layout)
The layout.
size (int)
The size.

Returns:

The same instance so that multiple calls can be chained.

public static Layout Ratio(Layout layout, int ratio)

Sets the ratio of the layout.

Parameters:

layout (Layout)
The layout.
ratio (int)
The ratio.

Returns:

The same instance so that multiple calls can be chained.

public static Layout Size(Layout layout, int size)

Sets the size of the layout.

Parameters:

layout (Layout)
The layout.
size (int)
The size.

Returns:

The same instance so that multiple calls can be chained.