| 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 AnnCurveObject curve bends between control points.For XAML example, refer to AnnCurveObject.
For C#/VB examples, refer to AnnCurveObject.
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
Copy Code