'Declaration Public Property MaxWidth As Double
'Usage Dim instance As ColumnBase Dim value As Double instance.MaxWidth = value value = instance.MaxWidth
public double MaxWidth {get; set;}
'Declaration Public Property MaxWidth As Double
'Usage Dim instance As ColumnBase Dim value As Double instance.MaxWidth = value value = instance.MaxWidth
public double MaxWidth {get; set;}
In order for a column to have a fixed size, the MinWidth and MaxWidth properties must be set to the same value.
If Width is set to a value greater than MaxWidth, ActualWidth will be equal to MaxWidth. If Width is set to a value lesser than MinWidth or, if MaxWidth is inferior to MinWidth, ActualWidth will become equal to MinWidth.
The return value of this property is always the same as any value that was set to it. In contrast, the value of the ActualWidth may vary if the suggested width has been rejected by the layout.
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2