All docs
V21.2
21.2
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ColorScaleLegend.EnableGradientScale Property

Gets or sets whether a gradient applies across a legend‘s color items.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v21.2.dll

Declaration

public bool EnableGradientScale { get; set; }

Property Value

Type Description
Boolean

true, if the gradient mode is enabled; otherwise, false.

Remarks

The following images show the EnableGradientScale property in action.

EnableGradientScale = true:

EnableGradientScale = false:

Example

<dxm:MapControl.Legends>
    <dxm:ColorScaleLegend EnableGradientScale="True" 
                          Layer="{Binding ElementName=heatLayer}" 
                          Visibility="Visible" 
                          Header="Seismic Density" 
                          MinWidth="100" />
</dxm:MapControl.Legends>
See Also