Exemple #1
0
        internal override void OnRangePaint(RangePaintEventArgs e)
        {
            //[email protected]: In general this method will not be hit if smoothscrolling is enabled. This is like a double protection.
            if (!EnableSmoothScrolling)
            {
                mDrawnRange.Clear();
            }

            base.OnRangePaint(e);
        }
Exemple #2
0
 /// <summary>
 /// Reset the object to its original state. It is similar to the Clear method but doesn't call any events when removeing the saved positions, usually used when refreshing the cells with new data.
 /// To simply clear the object use the Clear method, only use this method when you want to force a reset of the object without calling additional methods.
 /// </summary>
 protected virtual void ResetRange()
 {
     m_bValidated = false;
     m_RangeCollection.Clear();
 }
        protected override void OnRangePaint(RangePaintEventArgs e)
        {
            mDrawnRange.Clear();

            base.OnRangePaint(e);
        }