GradientStop.Color 属性

定义

获取或设置渐变停止点的颜色。Gets or sets the color of the gradient stop.

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 color of the gradient stop. 默认值为 TransparentThe default value is Transparent.

注解

依赖项属性信息Dependency Property Information

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

适用于

另请参阅