Shape.Stroke 属性

定义

获取或设置 Brush 指定如何 Shape 绘制轮廓。

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

属性值

一个 Brush ,指定 Shape 如何绘制轮廓。 默认值为 null

注解

Dependency 属性信息

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

适用于