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

Provides helpers for querying linked style definitions.

Definition

Namespace:Telerik.WinForms.Documents.Model.Styles

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public static class ExtensionMethods

Inheritance: objectExtensionMethods

Methods

Determines whether the style links to a style of the specified type.

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

The style whose linked style is checked.

typeStyleType

The required type of the linked style.

Returns:

bool

true if the linked style has the requested type; otherwise, false.