Back to Devexpress

DxTooltipSettings.ArrowLength Property

blazor-devexpress-dot-blazor-dot-dxtooltipsettings-520f13bc.md

latest1.5 KB
Original Source

DxTooltipSettings.ArrowLength Property

Specifies the tooltip arrow length.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(10)]
[Parameter]
public int ArrowLength { get; set; }

Property Value

TypeDefaultDescription
Int3210

The tooltip arrow length in pixels.

|

Remarks

The following code snippet changes the length of the tooltip arrow in the DxBarGauge component:

razor
<DxBarGauge Width="50%"
            Height="50%"
            StartValue="-5"
            EndValue="5"
            BaseValue="0"
            Values="@Values">
    @* ... *@
    <DxTooltipSettings Enabled="true"
                       Color="lightyellow" 
                       ArrowLength="5">
        <DxTextFormatSettings LdmlString="@LabelFormat" />
    </DxTooltipSettings>
</DxBarGauge>

@code {
    string LabelFormat = "##.## mm;-##.## mm";
    double[] Values = new double[] { -2.13, 1.48, -3.09, 4.52, 4.9, 3.9 };
}

See Also

DxTooltipSettings Class

DxTooltipSettings Members

DevExpress.Blazor Namespace