Back to Devexpress

WpfSvgPalette Class

wpf-devexpress-dot-xpf-dot-core-3ecda1cc.md

latest3.1 KB
Original Source

WpfSvgPalette Class

A palette for the SVG image.

Namespace : DevExpress.Xpf.Core

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public class WpfSvgPalette :
    Dictionary<string, Brush>,
    ISupportInitialize
vb
Public Class WpfSvgPalette
    Inherits Dictionary(Of String, Brush)
    Implements ISupportInitialize

The following members return WpfSvgPalette objects:

Remarks

Refer to the SVG Images topic for more information.

The following code snippets (auto-collected from DevExpress Examples) contain references to the WpfSvgPalette 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-create-a-fluent-design-using-appearance-options/CS/FluentDesignTemplate/MainWindow.xaml#L25

xml
<dx:WpfSvgPalette.Palette>
    <dx:WpfSvgPalette>
        <SolidColorBrush x:Key="Blue" Color="White"/>

wpf-svg-images-use-palettes-to-replace-image-colors/CS/SVGPalettes/MainWindow.xaml#L28

xml
<dx:WpfSvgPalette.Palette>
    <dx:WpfSvgPalette>
        <dx:WpfSvgPalette.States>

Inheritance

Object Dictionary<String, Brush> WpfSvgPalette

See Also

WpfSvgPalette Members

DevExpress.Xpf.Core Namespace