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().