Constructor DimPercent
DimPercent(int, DimPercentMode)
Represents a dimension that is a percentage of the width or height of the SuperView.
public DimPercent(int Percentage, DimPercentMode Mode = DimPercentMode.ContentSize)
Parameters
PercentageintThe percentage.
ModeDimPercentModeIf Position the dimension is computed using the View's position (X or Y); otherwise, the dimension is computed using the View's GetContentSize().
Remarks
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.
DimPercent(DimPercent)
protected DimPercent(DimPercent original)
Parameters
originalDimPercent