Esempio n. 1
0
        public RangeProperty GetCopy()
        {
            RangeProperty cellProperty = new RangeProperty();

            cellProperty.nameColumn1    = this.nameColumn1;
            cellProperty.nameRow1       = this.nameRow1;
            cellProperty.nameSheet      = this.nameSheet;
            cellProperty.allocationType = this.allocationType;
            cellProperty.cellMeasure    = this.cellMeasure != null?this.cellMeasure.GetCopy() : null;

            cellProperty.cellAllocationData = this.cellAllocationData != null?this.cellAllocationData.GetCopy() : null;

            cellProperty.cellScope = this.cellScope != null?this.cellScope.GetCopy() : null;

            return(cellProperty);
        }
Esempio n. 2
0
 /// <summary>
 /// Retire un RangeProperty
 /// </summary>
 /// <param name="cell"></param>
 public void RemoveRangeProperty(RangeProperty range, bool sort = true)
 {
     //rangePropertyListChangeHandler.AddDeleted(range, sort);
     OnPropertyChanged("rangePropertyListChangeHandler.Items");
 }
Esempio n. 3
0
 /// <summary>
 /// RangeProperty
 /// </summary>
 /// <param name="cell"></param>
 /// <param name="sort"></param>
 public void AddRangeProperty(RangeProperty cell, bool sort = true)
 {
     // rangePropertyListChangeHandler.AddNew(cell, sort);
     OnPropertyChanged("rangePropertyListChangeHandler.Items");
 }