SolidColorBrush.Color 属性

定义

获取或设置此 SolidColorBrush 的颜色。Gets or sets the color of this SolidColorBrush.

public:
 property System::Windows::Media::Color Color { System::Windows::Media::Color get(); void set(System::Windows::Media::Color value); };
public System.Windows.Media.Color Color { get; set; }
member this.Color : System.Windows.Media.Color with get, set
Public Property Color As Color

属性值

画笔的颜色。The brush's color. 默认值为 TransparentThe default value is Transparent.

注解

有关预定义颜色的列表, 请参见Colors类。For a list of predefined colors, see the Colors class. 有关系统颜色的列表, 请参见SystemColors类。For a list of system colors, see the SystemColors class.

依赖项属性信息Dependency Property Information

标识符字段Identifier field ColorProperty
元数据属性设置为trueMetadata properties set to true NoneNone

适用于

另请参阅