Visual Basic (Declaration) | |
---|---|
Public Property ShowLength As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool ShowLength {get; set;} |
XAML Attributes Usage | |
---|---|
<object ShowLength=bool .../> |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsMeasure, AffectsRender |
XAML Attributes Usage | |
---|---|
<object ShowLength=bool .../> |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsMeasure, AffectsRender |
Return Value
true to show the length of this AnnRulerObject object; false otherwise.For XAML example, refer to AnnRulerObject.
For C#/VB examples, refer to AnnRulerObject.
If this property is true, the MeasurementUnit property
contains the unit of measure for this AnnRulerObject object; the UnitAbbreviation property
contains the abbreviation for the unit of measure displayed with the length and the Precision
property contains the number of digits to display to the right of the decimal point in the length.
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