
C# WPF ボタンの表示がおかしくなる
この問題を解決したいです
[再現手順]
VisualStudio2019のWPFアプリケーションでプロジェクトを新規作成
MainWindowにボタンを横に二つ作成
マウスオーバーすると表示がおかしくなる
C#
1<Window x:Class="WpfApp1.MainWindow" 2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 4 xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 5 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 6 xmlns:local="clr-namespace:WpfApp1" 7 mc:Ignorable="d" 8 Title="MainWindow" Height="450" Width="800"> 9 <StackPanel Orientation="Horizontal"> 10 <Button Content="test"/> 11 <Button Content="test"/> 12 </StackPanel> 13</Window>
Visual Studio Community 2019 Version 16.11.9
Operating System: Windows 11 Home 64-bit (10.0, Build 22000) (22000.co_release.210604-1628)
Processor: AMD Ryzen 7 5800H with Radeon Graphics (16 CPUs), ~3.2GHz
Memory: 16384MB RAM


回答1件
あなたの回答
tips
プレビュー