Back to Devexpress

ParagraphStyleCollection.Item[String] Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-paragraphstylecollection-dot-item-x28-system-dot-string-x29.md

latest2.0 KB
Original Source

ParagraphStyleCollection.Item[String] Property

Gets the Paragraph Style object specified by its name.

Namespace : DevExpress.XtraRichEdit.API.Native

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
ParagraphStyle this[string name] { get; }
vb
ReadOnly Property Item(name As String) As ParagraphStyle

Parameters

NameTypeDescription
nameString

A string specifying the style name.

|

Property Value

TypeDescription
ParagraphStyle

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

|

Remarks

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

See Also

Name

ParagraphStyleCollection Interface

ParagraphStyleCollection Members

DevExpress.XtraRichEdit.API.Native Namespace