Specifies distance expressed either absolutely, through pixels, or relatively, through a percentage of the container's size.
Namespace: MindFusion.Gauges.Wpf
Assembly: MindFusion.Gauges.Wpf
C#
![]() |
---|
public struct Length |
Visual Basic
![]() |
---|
Public Structure Length |
Through the use of relative lengths it is possible to create scalable gauges.
To define relative lengths in XAML, use the percentage sign after the value. For example, the following code snipped defines a Pointer with width and height set to 30% and 10% respectively.
XAML
![]() |
---|
<gauges:Pointer PointerWidth="30%" PointerHeight="10%" /> |