Back to Devexpress

LineStyle Enum

blazor-devexpress-dot-blazor-36ebb02c.md

latest1.5 KB
Original Source

LineStyle Enum

Lists line styles.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public enum LineStyle

Members

NameDescription
Solid

A continuous solid line.

| | Dash |

A dashed line.

| | Dot |

A dotted line.

| | LongDash |

A line that displays long dashes.

| | DashDot |

A line that repeats the dash-dot pattern.

| | DashDotDot |

A line that repeats the dash-dot-dot pattern.

|

The following properties accept/return LineStyle values:

Remarks

Use the LineStyle property to customize the line style of the element’s borders:

razor
<DxBarGauge Width="100%"
            Height="500px"
            StartValue="0"
            EndValue="100"
            Values="@Values">
    @* ... *@
    <DxTooltipSettings Enabled="true" Color="lightyellow" >
        <DxTextFormatSettings LdmlString="@LabelFormat" />
        <DxBorderSettings LineStyle="LineStyle.DashDotDot" />
    </DxTooltipSettings>
</DxBarGauge>

@code {
    double[] Values = new double[] { 47.27, 65.32, 84.59, 81.86, 99 };
    string LabelFormat = "##.# '%' ";
}

See Also

DevExpress.Blazor Namespace