Method SortChildren
SortChildren(Comparison<AbstractControl>)
Sorts the child controls of this instance using the specified comparison.
public virtual void SortChildren(Comparison<AbstractControl> comparison)
Parameters
comparisonComparison<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.