Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SymbolViewBase.Height Property

Specifies the symbol’s height for the current symbol view.

Namespace: DevExpress.Xpf.Gauges

Assembly: DevExpress.Xpf.Gauges.v24.2.dll

NuGet Package: DevExpress.Wpf.Gauges

#Declaration

public SymbolLength Height { get; set; }

#Property Value

Type Description
SymbolLength

A SymbolLength object that is the symbol’s height.

#Example

The following example demonstrates how to set the SymbolViewBase.Width and SymbolViewBase.Height properties in proportional values.

<dxga:DigitalGaugeControl.SymbolView>
    <dxga:MatrixView8x14 Height="2.5*" Width="1.5*">
    </dxga:MatrixView8x14>
</dxga:DigitalGaugeControl.SymbolView>

The following example demonstrates how to set the SymbolViewBase.Width and SymbolViewBase.Height properties in absolute values.

<dxga:DigitalGaugeControl.SymbolView>
    <dxga:MatrixView8x14 Height="40" Width="30">
    </dxga:MatrixView8x14>
</dxga:DigitalGaugeControl.SymbolView>
See Also