Exemple #1
0
        /// <summary>
        /// Gets the DC values object, whose identifier is 'id', from the data view.
        /// </summary>
        /// <param name="id">The identifier of the DC values object.</param>
        /// <returns>Returns the DC values, whose identifier is 'id', if found.
        /// If 'id' is not found - the method returns null</returns>
        internal DcValues GetDcValues(DataControlRangeDataCollection dcValuesRange)
        {
            int id;

            if (DataviewManager.TryGetDcValuesIsByRange(dcValuesRange, out id))
            {
                return(Dataview.getDcValues(id));
            }
            else
            {
                return(null);
            }
        }
Exemple #2
0
 /// <summary>
 /// Adds the dcValues object to the data view's DC values collection.
 /// </summary>
 /// <param name="dcValues">Object to be added to the data view.</param>
 internal void AddDcValues(DcValues dcValues, DataControlRangeDataCollection dcValuesRange)
 {
     Dataview.AddDcValues(dcValues);
     DataviewManager.MapDcValues(dcValuesRange, dcValues.getId());
 }
Exemple #3
0
 /// <summary>
 /// invalidate dataview
 /// </summary>
 internal void Invalidate()
 {
     Dataview.clear();
     DataviewManager.Reset();
 }