ExpandableExtensions

Contains extension methods for .

Contains extension methods for IExpandable.

Methods

public static T Collapse<T>(T obj)

Tells the specified object to not expand to the available area but take as little space as possible.

Parameters:

obj (T)
The object to collapse.

Returns:

The same instance so that multiple calls can be chained.

public static T Expand<T>(T obj)

Tells the specified object to expand to the available area.

Parameters:

obj (T)
The object to expand.

Returns:

The same instance so that multiple calls can be chained.