Visual Basic (Declaration) | |
---|---|
Public Property Precision As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int Precision {get; set;} |
XAML Attributes Usage | |
---|---|
<object Precision=int .../> |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsMeasure, AffectsRender |
XAML Attributes Usage | |
---|---|
<object Precision=int .../> |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsMeasure, AffectsRender |
Return Value
The number of digits to the right of the decimal point.For XAML example, refer to AnnCrossProductObject.
For C#/VB examples, refer to AnnCrossProductObject.
If the ruler length is 135.683 and the precision is 2, the value 135.68 will be displayed.
For more information, refer to Using Rulers in WPF Annotation Objects.
For more information, refer to Using Rulers in WPF Annotation Objects.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family