C# WPF ボタンの表示がおかしくなる
この問題を解決したいです
[再現手順]
VisualStudio2019のWPFアプリケーションでプロジェクトを新規作成
MainWindowにボタンを横に二つ作成
マウスオーバーすると表示がおかしくなる
C#
<Window x:Class="WpfApp1.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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:WpfApp1" mc:Ignorable="d" Title="MainWindow" Height="450" Width="800"> <StackPanel Orientation="Horizontal"> <Button Content="test"/> <Button Content="test"/> </StackPanel> </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
まだ回答がついていません
会員登録して回答してみよう