Gets or sets the foreground of the runs in the range.
Namespace:
C1.Phone.RichTextBox.DocumentsAssembly: C1.Phone.RichTextBox (in C1.Phone.RichTextBox.dll)
Syntax
C# |
---|
public Brush Foreground { get; set; } |
Visual Basic |
---|
Public Property Foreground As Brush 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.