Visual Basic (Declaration) | |
---|---|
Public Property Tension As Double |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public double Tension {get; set;} |
XAML Attributes Usage | |
---|---|
<object Tension=double .../> |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsMeasure, AffectsRender |
XAML Attributes Usage | |
---|---|
<object Tension=double .../> |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsMeasure, AffectsRender |
Return Value
A value that specifies the amount that this AnnClosedCurveObject curve bends between control points.For XAML example, refer to AnnClosedCurveObject.
For C#/VB examples, refer to AnnClosedCurveObject.
Valid values are between 0.0 and 1.0, where 0.0 indicates straight lines, and 1.0 indicates lines with the highest curvature. A typical value is 0.5. These values for Tension for a Closed Curve object are shown in the following bitmap:
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family