Constructor DimAuto
DimAuto(Dim?, Dim?, DimAutoStyle)
Represents a dimension that automatically sizes the view to fit all the view's Content, SubViews, and/or Text.
public DimAuto(Dim? MaximumContentDim, Dim? MinimumContentDim, DimAutoStyle Style)
Parameters
MaximumContentDim
DimThe maximum dimension the View's ContentSize will be fit to.
MinimumContentDim
DimThe minimum dimension the View's ContentSize will be constrained to.
Style
DimAutoStyleThe DimAutoStyle of the DimAuto.
Remarks
See DimAutoStyle.
This is a low-level API that is typically used internally by the layout system. Use the various static methods on the Dim class to create Dim objects instead.