Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

CharacterStyleCollection.Item[String] Property

Gets the Character Style object specified by its name.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v19.1.Core.dll

Declaration

CharacterStyle this[string name] { get; }

Parameters

Name Type Description
name String

A string specifying the style name.

Property Value

Type Description
CharacterStyle

A CharacterStyle object which represents the style with the specified name.

Remarks

This method searches the collection for the CharacterStyle object whose CharacterStyle.Name property’s value matches the parameter’s value. If no such object is found, the indexer returns null.

See Also