←Select platform

Foreground Property (AnnTextObject)

Summary

Gets or sets a value that indicates which brush to use to paint the each glyph. This is a dependency property.

Syntax

C#
VB
C++
public Color Foreground {get; set;}
Public Property Foreground As Color
public: 
property Color Foreground { 
   Color get(); 
   void set (    Color ); 
} 

Property Value

A System.Windows.Media.Brush value that specifies which brush to use to paint the each glyph.

Remarks

For more information, refer to Using Text in WPF Annotation Objects.

Example

For XAML example, refer to AnnGroupObject.

For C#/VB examples, refer to AnnTextObject.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Windows.Annotations Assembly
Click or drag to resize