bloxstrap/Bloxstrap/Views/Pages/ModsPage.xaml.cs
pizzaboxer 826b0a04ca
Reorganize stuff
moved around stuff to better reflect the regions they're supposed to be in
2023-04-20 10:32:51 +01:00

27 lines
739 B
C#

using System;
using System.Windows;
using System.Windows.Input;
using Bloxstrap.ViewModels;
namespace Bloxstrap.Views.Pages
{
/// <summary>
/// Interaction logic for ModsPage.xaml
/// </summary>
public partial class ModsPage
{
public ModsPage()
{
DataContext = new ModsViewModel();
InitializeComponent();
// fullscreen optimizations were only added in windows 10 build 17093
if (Environment.OSVersion.Version.Build < 17093)
this.MiscellaneousOptions.Visibility = Visibility.Collapsed;
}
private void ValidateInt32(object sender, TextCompositionEventArgs e) => e.Handled = !Int32.TryParse(e.Text, out int _);
}
}