Visual Basic (Declaration) | |
---|---|
Public Property Fill As Brush |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Brush Fill {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 describes how the interior of the AnnObjectBase is painted. The default is a null reference (Nothing in Visual Basic).For XAML example, refer to AnnPolygonObject.
For C#/VB examples, refer to AnnObjectBase.
If this AnnObjectBase does not support fill (AnnObjectBase.SupportsFill value is false), this property will always return null (Nothing in Visual Basic).
If this AnnObjectBase does not support fill (AnnObjectBase.SupportsFill 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