private void OnDragDelta(object sender, DragDeltaEventArgs e) { if (TxtPrDescription.Visible) { TxtPrDescription.Hide(); } }
private void OnDragCompleted(object sender, DragCompletedEventArgs e) { if (PrDescExpander.IsExpanded) { TxtPrDescription.Show(); TxtPrDescription.Height += (int)e.VerticalChange; } }