internal void FromConditionalFormattingValueObject(X14.ConditionalFormattingValueObject cfvo) { this.SetAllNull(); if (cfvo.Formula != null) this.Formula = cfvo.Formula.Text; this.Type = cfvo.Type.Value; if (cfvo.GreaterThanOrEqual != null) this.GreaterThanOrEqual = cfvo.GreaterThanOrEqual.Value; }
private void SetAllNull() { this.Formula = string.Empty; this.Type = X14.ConditionalFormattingValueObjectTypeValues.Percentile; this.GreaterThanOrEqual = true; }