Class
ExtensionMethods

Provides extension methods for manipulating styles in Telerik document models.

Definition

Namespace:Telerik.Windows.Documents.Model.Styles

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public static class ExtensionMethods

Inheritance: objectExtensionMethods

Methods

HasLinkedStyleOfType(StyleDefinition, StyleType)

Determines whether the specified style definition has a linked style of the specified type.

Declaration

cs-api-definition
public static bool HasLinkedStyleOfType(this StyleDefinition style, StyleType type)

Parameters

style

StyleDefinition

The style definition to check for linked styles.

type

StyleType

The type of the style to look for.

Returns

bool

Returns true if the style definition has a linked style of the specified type; otherwise, false.