Back to Devexpress

DxRangeSelectorScaleMarker.Visible Property

blazor-devexpress-dot-blazor-dot-dxrangeselectorscalemarker.md

latest2.4 KB
Original Source

DxRangeSelectorScaleMarker.Visible Property

Specifies whether scale markers are visible.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(true)]
[Parameter]
public bool Visible { get; set; }

Property Value

TypeDefaultDescription
Booleantrue

true to display scale markers; otherwise, false.

|

Remarks

Scale markers accompany the scale axis that displays DateTime values. A scale marker consists of a separator and label.

Set the Visible property to false to hide scale markers:

razor
<DxRangeSelector Width="1000px"
                 Height="400px"
                 SelectedRangeStartValue="@(new DateTime(2024, 2, 1))"
                 SelectedRangeEndValue="@(new DateTime(2024, 2, 14))">
    <DxRangeSelectorScale StartValue="@(new DateTime(2024, 1, 1))"
                          EndValue="@(new DateTime(2024, 6, 1))"
                          MinorTickInterval="ChartAxisInterval.Day"
                          TickInterval="ChartAxisInterval.Week"
                          MaxRange="ChartAxisInterval.Month"
                          MinRange="ChartAxisInterval.Week"
                          ValueType="ChartAxisDataType.DateTime">
        <DxRangeSelectorScaleMarker Visible="false">
            <DxRangeSelectorScaleMarkerLabel>
                <DxTextFormatSettings Type="TextFormat.MonthAndYear" />
            </DxRangeSelectorScaleMarkerLabel>
        </DxRangeSelectorScaleMarker>
    </DxRangeSelectorScale>
    <DxRangeSelectorSliderMarker>
        <DxTextFormatSettings Type="TextFormat.MonthAndDay" />
    </DxRangeSelectorSliderMarker>
</DxRangeSelector>

Refer to the DxRangeSelectorScaleMarker class description for additional information.

See Also

DxRangeSelectorScaleMarker Class

DxRangeSelectorScaleMarker Members

DevExpress.Blazor Namespace