Visual Basic (Declaration) | |
---|---|
Public Property Stroke As Brush |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Brush Stroke {get; set;} |
XAML Syntax | |
---|---|
For XAML information, see the System.Windows.Media.Brush type. |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsMeasure, AffectsRender, SubPropertiesDoNotAffectRender |
XAML Syntax | |
---|---|
For XAML information, see the System.Windows.Media.Brush type. |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsMeasure, AffectsRender, SubPropertiesDoNotAffectRender |
Return Value
A Brush that specifies how the AnnObjectBase outline is painted. The default is a null reference (Nothing in Visual Basic).For XAML example, refer to AnnPolygonObject.
For C#/VB examples, refer to AnnAutomationManager.
If this AnnObjectBase does not support strokes (AnnObjectBase.SupportsStroke value is false), this property will always return null (Nothing in Visual Basic).
If this AnnObjectBase does not support strokes (AnnObjectBase.SupportsStroke value is false), setting this property to any value will be ignoreed.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family