如何在另一个 ResourceDictionary 中引用 _brush_backcolor001?像这样它不起作用:
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:s="clr-namespace:System;assembly=mscorlib">
<ResourceDictionary x:Key="_rd001">
<SolidColorBrush x:Key="_brush_backcolor001">#FF8FBC8F</SolidColorBrush>
</ResourceDictionary>
<Style TargetType="Paragraph" x:Key="_stylePara001">
<Setter Property="TextElement.Background">
<Setter.Value>
<DynamicResource ResourceKey="_brush_backcolor001" />
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>