Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.20 KB | None | 0 0
  1. private void Button_Click(object sender, RoutedEventArgs e)
  2. {
  3.     Boolean isFull = Application.Current.Host.Content.IsFullScreen;
  4.     Application.Current.Host.Content.IsFullScreen = isFull ? false : true;
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement