通过


SystemColors.ControlLightBrushKey 属性

定义

获取绘制ResourceKeySolidColorBrush三维显示元素的光区域。

public:
 static property System::Windows::ResourceKey ^ ControlLightBrushKey { System::Windows::ResourceKey ^ get(); };
public static System.Windows.ResourceKey ControlLightBrushKey { get; }
static member ControlLightBrushKey : System.Windows.ResourceKey
Public Shared ReadOnly Property ControlLightBrushKey As ResourceKey

属性值

绘制三维显示元素的光区域的资源键 SolidColorBrush 。 此画笔 IsFrozen 的属性是 true,因此无法对其进行修改。

注解

使用 ControlLightBrushKey 创建对绘制三维显示元素光区的系统画笔的动态引用。 如果更改画笔,此动态引用将自动更新。 若要创建不自动更新的静态引用,请使用 ControlLightBrush

XAML 属性用法

<object property="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}"/>

XAML 值

x:Staticx:Static Markup Extension

适用于

另请参阅