DxRangeSelectorShutter Class
Contains color settings for the Range Selector‘s shutters.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
public class DxRangeSelectorShutter :
DxSettingsComponent<RangeSelectorShutterModel>
Remarks
Shutters cover unselected ranges on the Range Selector‘s scale. Add a DxRangeSelectorShutter
object to the DxRangeSelector component markup co configure shutter color settings.
You can customize the shutter color and opacity. These properties affect the Range Selector’s appearance in the following cases:
- The component displays a chart.
- The component displays a background image.
If you leave the Color property unspecified, the Range Selector component colorizes shutters based on the DxRangeSelectorBackground.Color property value. Refer to the DxRangeSelectorBackground class description for more information.
<DxRangeSelector Width="800px"
Height="200px"
Data="@Data"
ValueChangeMode="RangeSelectorValueChangeMode.OnHandleMove">
<DxRangeSelectorChart>
<DxChartBarSeries ArgumentField="@((PopulationPoint s) => s.Country)"
ValueField="@((PopulationPoint s) => s.Value)" />
</DxRangeSelectorChart>
<DxRangeSelectorShutter Color="powderblue"
Opacity="0.6" />
</DxRangeSelector>
@code {
List<PopulationPoint> Data;
protected override void OnInitialized() {
Data = GetData();
}
}