LineBreakingRule
Class
Stores a language-specific character set used by a document's line-breaking restrictions.
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class LineBreakingRule
Inheritance: objectLineBreakingRule
Constructors
Creates a character rule for use as a document's no-line-break-before or no-line-break-after rule.
C#
public LineBreakingRule(LineBreakingRuleLanguage language, char[] characters)
The language to which the character rule applies.
characterschar[]The characters that must not start or end a line, depending on the document property using this rule.
Exceptions: ArgumentNullExceptioncharacters is null.
Properties
Gets a read-only collection of the characters for which the rule will be applied.
C#
public ReadOnlyCollection<char> Characters { get; }
The characters.
Gets the language for which the rule will be applied.
C#
public LineBreakingRuleLanguage Language { get; }
The language.