Back to Devexpress

GaugeBase.Height Property

blazor-devexpress-dot-blazor-dot-base-dot-gaugebase.md

latest1.2 KB
Original Source

GaugeBase.Height Property

Specifies the component’s height.

Namespace : DevExpress.Blazor.Base

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDescription
String

The height in CSS units.

|

Remarks

Use Height and Width properties to specify the size of the gauge component.

razor
<DxBarGauge Width="100%"
            Height="500px"
            StartValue="-5"
            EndValue="5"
            BaseValue="0"
            Values="@Values">
    @* ... *@
</DxBarGauge>

@code {
    double[] Values = new double[] { -2.13, 1.48, -3.09, 4.52, 4.9, 3.9 };
    // ...
}

See Also

GaugeBase Class

GaugeBase Members

DevExpress.Blazor.Base Namespace