wpf-devexpress-dot-xpf-dot-dxbinding-8098e3c4.md
Implements a XAML extension that allows you to specify property values depending on the applied lightweight theme.
Namespace : DevExpress.Xpf.DXBinding
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public class LWThemeValueExtension :
DXMarkupExtensionBase
Public Class LWThemeValueExtension
Inherits DXMarkupExtensionBase
Refer to the following topic for additional information: Set Theme-Specific Values in XAML.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LWThemeValueExtension class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-themes-use-palette-resources-in-custom-controls/CS/DXSample/MainWindow.xaml#L24
<local:CustomControl1 Margin="5" Text="Custom control with a style that uses palette resources." />
<dxe:PopupColorEdit EditValue="{LWThemeValue Default=Color.Custom.Red, Win11=Color.Custom.Green, TargetType=Color}" />
</StackPanel>
Object MarkupExtension DevExpress.Xpf.DXBinding.DXMarkupExtensionBase LWThemeValueExtension
See Also