MindFusion.Wpf Pack Programmer's Guide
Length Structure
Remarks See Also
 





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

 Syntax

C#  Copy Code

public struct Length

Visual Basic  Copy Code

Public Structure Length

 Remarks

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  Copy Code

<gauges:Pointer PointerWidth="30%" PointerHeight="10%" />

 See Also

Length Members
MindFusion.Gauges.Wpf Namespace