ParagraphStyleCollection.Item[String] Property
Gets the Paragraph Style object specified by its name.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v24.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
name | String | A string specifying the style name. |
Property Value
Type | Description |
---|---|
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