WpfSvgPalette.ReplaceColor(String, String, String, out Color) Method
In This Article
Allows you to replace colors for the palette.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v24.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 |
---|---|---|
style |
String | |
actual |
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