Back to Devexpress

DxTextFormatSettings.LdmlString Property

blazor-devexpress-dot-blazor-dot-dxtextformatsettings-f4208fe9.md

latest1.3 KB
Original Source

DxTextFormatSettings.LdmlString Property

Specifies the element’s custom format.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[Parameter]
public string LdmlString { get; set; }

Property Value

TypeDescription
String

The LDML string.

|

Remarks

The following code snippet uses the ##.#'%' pattern to format DxBarGauge labels:

razor
<DxBarGauge Width="100%"
            Height="500px"
            StartValue="0"
            EndValue="100"
            Values="@Values">
    <DxBarGaugeLabelSettings Indent="30">
        <DxTextFormatSettings LdmlString="@LabelFormat" />
    </DxBarGaugeLabelSettings>
</DxBarGauge>

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

See Also

DxTextFormatSettings Class

DxTextFormatSettings Members

DevExpress.Blazor Namespace