public void Gridsplitter_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) { GridSplitter spliter = (GridSplitter)sender; double x = signalviewercontrol.ActualWidth; double y = Math.Truncate(Scrollviewer.ActualWidth); double maxbreite = SystemParameters.PrimaryScreenWidth - SystemParameters.VerticalScrollBarWidth - 5.0 - y; RendererManager.Drag(signalviewercontrol.stackercontrol, maxbreite); }