Table of Contents

Method GrowSize

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

GrowSize(SizeD?, SizeD)

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

public static SizeD GrowSize(SizeD? currentSize, SizeD minSizeAtLeast)

Parameters

currentSize SizeD?

Current size value.

minSizeAtLeast SizeD

Minimal size of the result will be at least.

Returns

SizeD