Skip to main content

AlertButtonCollection.GetButtonByHint(String) Method

Locates the button in the collection that has the specified hint.

Namespace: DevExpress.XtraBars.Alerter

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

public AlertButton GetButtonByHint(
    string hint
)

Parameters

Name Type Description
hint String

A string that specified the hint of a button to be located.

Returns

Type Description
AlertButton

An AlertButton object that has been located; null if no button with the specified hint has been located.

Remarks

This method searches the collection for a button whose AlertButton.Hint property matches the specified string.

See Also