'DeclarationPublic Property MaxWidth As Double
'UsageDim instance As ColumnBase Dim value As Double instance.MaxWidth = value value = instance.MaxWidth
public double MaxWidth {get; set;}
'DeclarationPublic Property MaxWidth As Double
'UsageDim 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.
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.