Back to Devexpress

Badge.SetBadge(DependencyObject, Badge) Method

wpf-devexpress-dot-xpf-dot-core-dot-badge-dot-setbadge-x28-system-dot-windows-dot-dependencyobject-devexpress-dot-xpf-dot-core-dot-badge-x29.md

latest1.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public static void SetBadge(
    DependencyObject element,
    Badge value
)
vb
Public Shared Sub SetBadge(
    element As DependencyObject,
    value As Badge
)

Parameters

NameTypeDescription
elementDependencyObject

The element to which the attached property is written.

| | value | Badge |

A Badge value that specifies the badge object.

|

See Also

Badge Class

Badge Members

DevExpress.Xpf.Core Namespace