Table of Contents

Class ControlUtils

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

Contains static methods and properties which are AbstractControl related.

public static class ControlUtils
Inheritance
ControlUtils

Properties

Empty

Gets an empty control for the debug purposes.

Methods

FindVisibleControl<T>()

Finds visible control of the specified type.

GrowCoord(double?, double)

Increazes width or height specified in currentValue if it is less than value specified in minValueAtLeast.

GrowSize(SizeD?, SizeD)

Increazes size specified in currentSize if it is less than size specified in minSizeAtLeast. Width and height are increased individually.

SafeControl(object?)

Gets control for measure purposes in a safe way. Do not change any properties of the returned control.