在原型項目中編輯ControlTemplate後,我決定將自定義ControlTemplate移到我的主項目中。這並沒有開箱的預期時,Visual Studio通知我下面的錯誤: Error Cannot find the static member 'InactiveSelectionHighlightBrushKey' on the type 'SystemColors'. 有沒有在XAML源
我正在更改我的ListView中的SystemColors.HighlightBrushKey和SystemColors.ControlBrushKey,它工作正常;但是這個列表視圖在其每個ListViewItem(例如其他ListView,DataGrid)中都包含其他複雜控件,並且此新系統顏色將應用於所有子控件。 <!-- This resource is added to remove th