MaxWidth Property
Description
Gets or sets the maximum width constraint of the element.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property MaxWidth() As Long
Return Type
The maximum width of the element in pixels.
Remarks
Width is one of three properties that specify height information. The other two are MinWidth and MaxWidth. If there is a conflict between these values, the order of height determination is as follows:
- MinWidth must be honored.
- MaxWidth must be honored.
- Finally, if it is within bounds, Width is considered.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.