Esempio n. 1
0
 /// <summary>
 /// Set temporary value for a line size during a resize operation without commiting
 /// value to SrollLinesHost.
 /// </summary>
 /// <param name="index">The index.</param>
 /// <param name="size">The size.</param>
 public override void SetLineResize(int index, double size)
 {
     inLineResize = true;
     if (Distances.GetNestedDistances(index) == null)
     {
         base.SetLineResize(index, size);
     }
     else
     {
         MarkDirty();
         RaiseChanged(ScrollChangedAction.LineResized);
     }
     if (parentScrollAxis != null)
     {
         parentScrollAxis.SetLineResize(StartLineIndex, Distances.TotalDistance);
     }
     inLineResize = false;
 }