Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ToastNotificationCollection.TryGetValue(Object, out IToastNotificationProperties) Method

Tests whether an element with a target ID and properties currently exists.

Namespace: DevExpress.XtraBars.ToastNotifications

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public bool TryGetValue(
    object id,
    out IToastNotificationProperties element
)

#Parameters

Name Type Description
id Object

An Object that is the element ID.

element IToastNotificationProperties

An IToastNotificationProperties object that is the element’s set of properties.

#Returns

Type Description
Boolean

true if an element with target ID and properties currently exists; otherwise, false.

See Also