Beispiel #1
0
        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);
            }
        }
Beispiel #2
0
 public RowBuilder HeightType(RowHeightType heightType) => Chain(p => p.HeightType = heightType);