public void WindowWasMoved(object sender, WindowAdjustedEventArgs e) { //ActiveSection.Width = e.MyWidth; //e.Handled = true; }
private void UserControl_LayoutUpdated(object sender, EventArgs e) { WindowAdjustedEventArgs args = new WindowAdjustedEventArgs(WindowAdjustedEvent, ActualWidth); RaiseEvent(args); }