ComponentOne RichTextBox for WPF and Silverlight
Foreground Property (C1TextRange)

C1.Silverlight.RichTextBox.Documents Namespace > C1TextRange Class : Foreground Property
Gets or sets the foreground of the runs in the range.
Syntax
'Declaration
 
Public Property Foreground As System.Windows.Media.Brush
public System.Windows.Media.Brush Foreground {get; set;}
Remarks
When the range is empty, setting this property changes the Foreground of the text to be written and getting this property returns the format of the of the text to be written. When the selection is not empty, getting this property returns the format of the selection, or null if the selection has mixed format.
See Also

Reference

C1TextRange Class
C1TextRange Members