在原型项目中编辑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