I'm writing an 'touch-able' WPF Application for Windows 10 using .NET 5.
I've been looking around Stack Overflow to find answer however i didn't find any, that's why I'm asking it.
First of all, my MainWindow is not 'Maximized' and my WindowStyle is not 'None'.
<Window
x:Class="App1234.Views.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:prism="http://prismlibrary.com/"
xmlns:notifications="clr-namespace:Notification.Wpf.Controls;assembly=Notifications.Wpf"
Title="App1234"
d:DesignHeight="1200"
d:DesignWidth="1920"
prism:ViewModelLocator.AutoWireViewModel="True"
Background="{DynamicResource MaterialDesignPaper}"
FontFamily="{materialDesign:MaterialDesignFont}"
Loaded="MainWindow_OnLoaded"
TextElement.FontSize="14"
TextElement.FontWeight="Medium"
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
mc:Ignorable="d">
I can touch the lower TextBox and the touch-Keyboard opens. However I'm unable to see the control because the keyboard hides it. I would like to "resize" my application in order to still see the control
How can I implement this behaviour in an WPF Application?
Thank you, Arthur
UPDATE:
We also launched our application as administrator without the uiAcess flag. The solution (in addition to the reply) was to remove the administrator requirement.