SystemColors.InfoColorKey 属性

定义

ToolTip 控件的背景 Color 获取 ResourceKey

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

属性值

ResourceKey

ToolTip 控件的背景 Color 的资源键。

注解

Use the InfoColorKey to create a dynamic reference to the active border system color. 如果颜色已更改,此动态引用将自动更新。 若要创建不自动更新的静态引用,请使用 InfoColor

XAML 属性用法

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

XAML 值

x:Static
x:Static 标记扩展

适用于

另请参阅