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

備註

相依性屬性資訊

識別碼欄位 GradientStopsProperty
中繼資料屬性設定為 true

適用於