public void Remove(MaskInfo maskInfo) { if (this.InnerList.Contains(maskInfo)) { this.InnerList.Remove(maskInfo); } }
public MaskInfo Copy() { MaskInfo thiscopy = new MaskInfo(); thiscopy._TitleFont = (Font)this._TitleFont.Clone(); thiscopy._TitleTextColor = this._TitleTextColor; thiscopy._TitleBackColor = this._TitleBackColor; thiscopy._Title = this._Title; thiscopy._TitleWidth = this._TitleWidth; thiscopy._TitleAlignment = this._TitleAlignment; thiscopy._MaskedField = this._MaskedField; thiscopy._MaskedFont = (Font)this._MaskedFont.Clone(); thiscopy._MaskedWidth = this._MaskedWidth; thiscopy._ShowTitle = this._ShowTitle; thiscopy._ShowUnderLine = this._ShowUnderLine; thiscopy._MaskedTextColor = this._MaskedTextColor; thiscopy._MaskedBackColor = this._MaskedBackColor; thiscopy._MaskedAlignment = this._MaskedAlignment; thiscopy._VerticalAlignment = this._VerticalAlignment; thiscopy.BrotherMaskInfos = this.BrotherMaskInfos.Copy(); thiscopy._DateFormat = this._DateFormat; return(thiscopy); }
public void SetCellValueAnsStyle(IWebbTable webbTable) { for (int i = 0; i < this.InnerList.Count; i++) { MaskInfo maskTextInfo = this[i]; int nCol = 0; maskTextInfo.SetCellValueAnsStyle(webbTable, i, ref nCol); } }
public int Add(MaskInfo maskInfo) { return(this.InnerList.Add(maskInfo)); }