Tôi đặt một kiểu cho Window trong App.xaml
như ví dụ:Làm cách nào để áp dụng kiểu cho Kiểm soát cửa sổ trong WPF?
<Application x:Class="MusicRepo_Importer.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:System="clr-namespace:System;assembly=mscorlib" StartupUri="TestMaster.xaml">
<Application.Resources>
<Style TargetType="Window">
<Setter Property="WindowStyle" Value="None"></Setter>
</Style>
</Application.Resources>
</Application>
Với mà tôi về cơ bản muốn mọi cửa sổ có giá trị tài sản WindowStyle của nó thiết lập để None (để loại bỏ các cửa sổ mặc định khung và biên giới); Nhưng nó không hoạt động.
Tôi thiếu gì ở đây?
Cảm ơn thông tin chi tiết –