GradientBrush.GradientStops 属性

定义

获取或设置画笔的渐变停止点。

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

属性值

与画笔关联的对象的集合 GradientStop ,其中每个对象指定一种颜色和沿画笔的渐变轴的偏移量。 默认值为空 GradientStopCollection

注解

Dependency 属性信息

项目 价值
标识符字段 GradientStopsProperty
元数据属性设置为 true None

适用于