Visual Basic (Declaration) | |
---|---|
Public Property TextBrush As Brush |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Brush TextBrush {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 |
XAML Syntax | |
---|---|
For XAML information, see the System.Windows.Media.Brush type. |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsMeasure, AffectsRender |
Return Value
A Brush value that specifies which brush to use to paint the each glyph.For XAML example, refer to AnnGroupObject.
When "getting" this property, internally this AnnGroupObject will enumerate all objects in the group and return the brush of the first object in the group that implements the IAnnTextObject interface. For more information refer to IAnnTextObject.TextBrush.
When "setting" this property, internally this AnnGroupObject will enumerate all objects in the group and set the brush for each object that implements the IAnnTextObject interface. For more information refer to IAnnTextObject.TextBrush.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family