New to Telerik UI for WPFStart a free 30-day trial

Provides extension methods for manipulating styles in Telerik document models.

Definition

Namespace:Telerik.Windows.Documents.Model.Styles

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public static class ExtensionMethods

Inheritance: objectExtensionMethods

Methods

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

C#
public static bool HasLinkedStyleOfType(this StyleDefinition style, StyleType type)
Parameters:styleStyleDefinition

The style definition to check for linked styles.

typeStyleType

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.