ComponentOne RichTextBox for WPF and Silverlight
FontWeight Property (C1TextRange)

C1.WPF.RichTextBox.Documents Namespace > C1TextRange Class : FontWeight Property
Gets or sets the font weight of the runs in the range.
Public Property FontWeight As System.Nullable(Of FontWeight)
public System.Nullable<FontWeight> FontWeight {get; set;}
When the range is empty, setting this property changes the FontWeight of the text to be written and getting the FontWeight 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


C1TextRange Class
C1TextRange Members