public XLDecimalCriteria(IXLDataValidation dataValidation) : base(dataValidation) { }
public void CopyFrom(IXLDataValidation dataValidation) { if (dataValidation == this) return; if (Ranges == null && dataValidation.Ranges != null) { Ranges = new XLRanges(); dataValidation.Ranges.ForEach(r => Ranges.Add(r)); } IgnoreBlanks = dataValidation.IgnoreBlanks; InCellDropdown = dataValidation.InCellDropdown; ShowErrorMessage = dataValidation.ShowErrorMessage; ShowInputMessage = dataValidation.ShowInputMessage; InputTitle = dataValidation.InputTitle; InputMessage = dataValidation.InputMessage; ErrorTitle = dataValidation.ErrorTitle; ErrorMessage = dataValidation.ErrorMessage; ErrorStyle = dataValidation.ErrorStyle; AllowedValues = dataValidation.AllowedValues; Operator = dataValidation.Operator; MinValue = dataValidation.MinValue; MaxValue = dataValidation.MaxValue; }
public XLDataValidation(IXLDataValidation dataValidation) { CopyFrom(dataValidation); }
public XLDataValidation(IXLDataValidation dataValidation, XLWorksheet worksheet) : this(worksheet) { _worksheet = worksheet; CopyFrom(dataValidation); }
public void Delete(IXLDataValidation dataValidation) { _dataValidations.RemoveAll(dv => dv.Ranges.Equals(dataValidation.Ranges)); }
public IXLDataValidation Add(IXLDataValidation dataValidation) { return(Add(dataValidation, skipIntersectionsCheck: false)); }
public XLTimeCriteria(IXLDataValidation dataValidation) : base(dataValidation) { }
public XLTextLengthCriteria(IXLDataValidation dataValidation) : base(dataValidation) { }
internal XLValidationCriteria(IXLDataValidation dataValidation) { this.dataValidation = dataValidation; }
public XLWholeNumberCriteria(IXLDataValidation dataValidation) : base(dataValidation) { }
public void Add(IXLDataValidation dataValidation) { _dataValidations.Add(dataValidation); }
public XLWholeNumberCriteria(IXLDataValidation dataValidation): base(dataValidation) { }