Back to Devexpress

LWThemeValueExtension.Win11 Property

wpf-devexpress-dot-xpf-dot-dxbinding-dot-lwthemevalueextension-dot-win11.md

latest2.4 KB
Original Source

LWThemeValueExtension.Win11 Property

Gets or sets the value for lightweight Win11 themes. This is a dependency property.

Namespace : DevExpress.Xpf.DXBinding

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public object Win11 { get; set; }
vb
Public Property Win11 As Object

Property Value

TypeDescription
Object

The value for lightweight Win11 themes.

|

Remarks

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 Win11 property.

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

xml
<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>

See Also

LWThemeValueExtension Class

LWThemeValueExtension Members

DevExpress.Xpf.DXBinding Namespace