Table of Contents

Method SortChildren

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SortChildren(Comparison<AbstractControl>)

Sorts the child controls of this instance using the specified comparison.

public virtual void SortChildren(Comparison<AbstractControl> comparison)

Parameters

comparison Comparison<AbstractControl>

The comparison delegate used to determine the order of the child controls.

Remarks

This method performs the sorting operation only if the instance has child controls. The sorting is executed within a layout operation to ensure consistency.