ThemeManager.GetTheme(DependencyObject) Method
Gets the value of the ThemeManager.Theme attached property to a specified DependencyObject.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v20.2.dll
Declaration
public static Theme GetTheme(
DependencyObject obj
)
Public Shared Function GetTheme(
obj As DependencyObject
) As Theme
Parameters
Name | Type | Description |
---|---|---|
obj | DependencyObject | The element from which the property value is read. |
Returns
Type | Description |
---|---|
Theme | The theme for the element. |
See Also
Feedback