Skip to content

Width Property

Description

Gets or sets the suggested width of the element.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property Width() As Long

Return Type

The 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:

  1. MinWidth must be honored.
  2. MaxWidth is considered next.
  3. Finally, if it is within bounds, Width is applied.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.