void MainPage_SizeChanged(object sender, SizeChangedEventArgs e)
 {
     InvalidateSize();
     if (MainPageResized != null)
     {
         MainPageSizeChangedEventArgs args = new MainPageSizeChangedEventArgs();
         args.Width = this.ActualWidth;
         MainPageResized(this, args);
     }
 }
Beispiel #2
0
 void MainPage_SizeChanged(object sender, SizeChangedEventArgs e)
 {
     InvalidateSize();
     if (MainPageResized != null)
     {
         MainPageSizeChangedEventArgs args = new MainPageSizeChangedEventArgs();
         args.Width = this.ActualWidth;
         MainPageResized(this, args);
     }
 }
Beispiel #3
0
 void MainPage_SizeChanged(object sender, SizeChangedEventArgs e)
 {
     InvalidateSize();
     if (MainPageResized != null)
     {
         MainPageSizeChangedEventArgs args = new MainPageSizeChangedEventArgs();
         args.ViewState = ApplicationView.Value;
         MainPageResized(this, args);
     }
 }
 void MainPage_SizeChanged(object sender, SizeChangedEventArgs e)
 {
     InvalidateSize();
     if (MainPageResized != null)
     {
         MainPageSizeChangedEventArgs args = new MainPageSizeChangedEventArgs();
         args.ViewState = ApplicationView.Value;
         MainPageResized(this, args);
     }
 }
Beispiel #5
0
 void rootPage_MainPageResized(object sender, MainPageSizeChangedEventArgs e)
 {
     if (Window.Current.Bounds.Width < 768)
     {
             InputPanel.Orientation = Orientation.Vertical;
             FunctionPanel.Margin = new Thickness(0.0, 0.0, 0.0, 10.0);
     }
     else
     {
             InputPanel.Orientation = Orientation.Horizontal;
     }
 }
 void MainPageResized(object sender, MainPageSizeChangedEventArgs e)
 {
     if (Window.Current.Bounds.Width >= 1304)
     {
         ButtonsContainer.Orientation = Orientation.Horizontal;
     }
     else
     {
         ButtonsContainer.Orientation = Orientation.Vertical;
     }
 }
 private void rootPage_MainPageResized(object sender, MainPageSizeChangedEventArgs e)
 {
     UpdateOutputLayout();
 }