[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.C1StyleOverrideMerger.GetStyles

GetStyles Method

GetStyles(C1TextRange)

Returns a collection of C1RangeStyle objects to apply to the text inside the parameter C1TextRange.

Declaration
public IEnumerable<C1RangeStyle> GetStyles(C1TextRange range)
Parameters
Type Name Description
C1TextRange range
Returns
Type Description
IEnumerable<C1RangeStyle>
Implements
Remarks

The text ranges inside the returned collection of C1RangeStyle must not overlap, and they must be ordered. In other words, the End of a text range must be less or equal than the Start of the next one.