public void NotifyUpdateMeasureRequired( UpdateMeasureRequiredEventArgs args )
 {
   if( this.UpdateMeasureRequired != null )
   {
     this.UpdateMeasureRequired( this, args );
   }
 }
 protected virtual void IncrementVersion(UpdateMeasureRequiredEventArgs e)
 {
     unchecked
     {
         m_version++;
     }
 }
 public void NotifyUpdateMeasureRequired(UpdateMeasureRequiredEventArgs args)
 {
     if (this.UpdateMeasureRequired != null)
     {
         this.UpdateMeasureRequired(this, args);
     }
 }
Exemplo n.º 4
0
        protected void OnUpdateMeasureRequired(UpdateMeasureRequiredEventArgs e)
        {
            // If the manager is detached, it means it will be soon collected, thus don't send update notifications to FixedCellPanels that can still be hook to it (but being recycled).
            if (this.DataGridContext == null)
            {
                return;
            }

            var handler = this.UpdateMeasureRequired;

            if (handler == null)
            {
                return;
            }

            handler.Invoke(this, e);
        }
Exemplo n.º 5
0
        protected override void IncrementVersion(UpdateMeasureRequiredEventArgs e)
        {
            base.IncrementVersion(e);

            this.OnUpdateMeasureRequired(e);
        }