private void WorkSpaceGrid_SizeChanged(object sender, SizeChangedEventArgs e) { // Close the MenuPanel when the size of grid changes. NavigationBarControl.CloseMenuPanel(); ClipHelper.SizeChanged(sender, e); }
private void Canvas_SizeChanged(object sender, SizeChangedEventArgs e) { // Sets the clipping so text does not display outside the canvas. ClipHelper.SizeChanged(sender, e); RedrawCollection(); }