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

Badge.GetBadge(DependencyObject) Method

Gets the value of the Badge.Badge attached property to a specified DependencyObject.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public static Badge GetBadge(
    DependencyObject element
)

#Parameters

Name Type Description
element DependencyObject

The element to which the attached property is written.

#Returns

Type Description
Badge

A Badge value that specifies the badge object.

See Also