Toggle side menu
Toggle side menu
Home
Documentation
API
Size
.
Constrain
(Size)
Method
Summary
Constrains the size.
Namespace
Avalonia
Containing Type
Size
Syntax
public Size Constrain(Size constraint)
Parameters
Name
Type
Description
constraint
Size
The size to constrain to.
Return Value
Type
Description
Size
The constrained size.