void WindowLayoutService_OnWindowLayoutRaised(object sender, EventArgs e) { if (_deviceManager == null) { return; } WindowLayoutEventArgs ea = (WindowLayoutEventArgs)e; _updateDimensions(ea.Size.Width, ea.Size.Height); _updateScaleTranslate(1.0f); _drawTiles(0); }
public void NavigateBasedOnWindowsLayoutChange(WindowLayoutEventArgs args) { }
void WindowLayoutService_OnWindowLayoutRaised(object sender, EventArgs e) { WindowLayoutEventArgs args = (WindowLayoutEventArgs)e; NavigationService.NavigateBasedOnWindowsLayoutChange(args); }
/// <summary> /// raise WindowLayoutEvent to the main window that has a handler registered /// </summary> private void ChangeWindowLayout(object sender, WindowLayoutEventArgs e) { RaiseChangeMainWindowLayoutEvent(e.ArgWindowLayout); }