private static EnumValue <HeightRuleValues> ConvertHeightType(RowHeightType heightType) { switch (heightType) { case RowHeightType.Exact: return(HeightRuleValues.Exact); case RowHeightType.AtLeast: return(HeightRuleValues.AtLeast); default: throw new ArgumentOutOfRangeException(nameof(heightType), heightType, null); } }
public RowBuilder HeightType(RowHeightType heightType) => Chain(p => p.HeightType = heightType);