Constrain Method
Constrains the size.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Size Constrain(
Size constraint
)
Public Function Constrain (
constraint As Size
) As Size
member Constrain :
constraint : Size -> Size
Parameters
- Size
- The size to constrain to.
Return Value
Size
The constrained size.