wpf-devexpress-dot-xpf-dot-dxbinding-dot-lwthemevalueextension.md
Gets or sets the target conversion type. This is a dependency property.
Namespace : DevExpress.Xpf.DXBinding
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public Type TargetType { get; set; }
Public Property TargetType As Type
| Type | Description |
|---|---|
| Type |
The target conversion type.
|
Refer to the following topic for additional information: Set Theme-Specific Values in XAML - Types Conversion.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TargetType 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
<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