New to Telerik UI for WinForms? Start a free 30-day trial

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)
Parameters:languageLineBreakingRuleLanguage

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: ArgumentNullException

characters is null.

Properties

Gets a read-only collection of the characters for which the rule will be applied.

C#
public ReadOnlyCollection<char> Characters { get; }
Property Value:

The characters.

Gets the language for which the rule will be applied.

C#
public LineBreakingRuleLanguage Language { get; }
Property Value:

The language.