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 | AffectsRender |
XAML Syntax | |
---|---|
For XAML information, see the System.Windows.Media.Brush type. |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsRender |
Return Value
A Brush value that specifies which brush to use to paint the each glyph.For XAML example, refer to AnnGroupObject.
For C#/VB examples, refer to AnnTextObject.
For more information, refer to Using Text in WPF Annotation Objects.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family