Skip to main content

Badge.SetBadge(DependencyObject, Badge) Method

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

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public static void SetBadge(
    DependencyObject element,
    Badge value
)

Parameters

Name Type Description
element DependencyObject

The element to which the attached property is written.

value Badge

A Badge value that specifies the badge object.

See Also