Skip to main content

WpfSvgPalette.ReplaceColor(String, String, String, out Color) Method

Allows you to replace colors for the palette.

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public virtual bool ReplaceColor(
    string styleName,
    string actualState,
    string color,
    out Color result
)

Parameters

Name Type Description
styleName String
actualState String

The element state’s String value.

color String
result Color

A new Color value.

Returns

Type Description
Boolean

true, if the color is replaced successfully; otherwise, false.

See Also