Skip to main content
Tab

NewsItemCollection.FindByHeaderText(String) Method

Returns an item by its header text.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public NewsItem FindByHeaderText(
    string headerText
)

Parameters

Name Type Description
headerText String

A string value that specifies the header text of the requested node.

Returns

Type Description
NewsItem

A NewsItem object with the specified header text. null (Nothing in Visual Basic) if the item isn’t found.

Remarks

The FindByHeaderText method returns the first item found whose NewsItem.HeaderText property’s value matches the specified string.

See Also