WidgetListExtensions

Static Class

Extension Methods

If(candidate: IWidgetListCandidate, condition: bool): ConditionalCandidate
Conditionally adds the given candidate to the widget list.

Parameters

candidate:IWidgetListCandidate - The candidate to add.
condition:bool - The condition under which to add the candidate.
Spread(candidates: IEnumerable<IWidgetListCandidate>, gap: BuildFunction): SpreadCandidate
Spreads the given enumerable of candidates into the widget list, with the given gap between each.

Parameters

candidates:IEnumerable<IWidgetListCandidate> - The candidates to spread.
gap:BuildFunction - A dummy build function that will be used to create gaps between each candidate. The context parameter of the build function will be null.
Spread(candidates: IEnumerable<IWidgetListCandidate>): SpreadCandidate
Spreads the given enumerable of candidates into the widget list.

Inherited Members

On this page