Tab

NewsItemCollection.FindByHeaderText(String) Method

Returns an item by its header text.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

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