ThemeManager.SetTheme(DependencyObject, Theme) Method

Sets the value of the ThemeManager.Theme attached property to a specified DependencyObject.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v20.1.dll


public static void SetTheme(
    DependencyObject obj,
    Theme value
Public Shared Sub SetTheme(
    obj As DependencyObject,
    value As Theme


Name Type Description
obj DependencyObject

The element to which the attached property is written.

value Theme

The required theme.

See Also