--- lang: ja-jp breaks: true --- # .NET Core UWP ウインドウを広げると、背景が透過された状態で広がる(解決) 2021-04-13 ### 環境 * Windows Server 2019 * Visual Studio 2019 Preview * .NET Core UWP Windows10でUWPの画面を初めて触った時にもこのような現象が出ていた。 まさか、今更このような画面が表示されるとは。。。  ```xaml= <Page x:Class="App1.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:App1" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <Grid> <StackPanel Orientation="Vertical"> <Button Content="Standard XAML button" Click="Button_Click" /> <Button Click="Button_Click" AutomationProperties.Name="Pie"> <Image Source="/Assets/Slices.png" AutomationProperties.Name="Slice" Height="77" Width="81" /> </Button> </StackPanel> </Grid> </Page> ``` ### XAML Controls Gallaryでも同様の現象  microsoft/Xaml-Controls-Gallery https://github.com/microsoft/Xaml-Controls-Gallery ### 追記 Windows Server 2019を再起動したら、発生しなくなった。。。 ###### tags: `UWP` `.NET Core`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up