Note: This API is now obsolete. Please use the ScaleLine control in the ESRI.ArcGIS.Client.Toolkit namespace.
Gets or sets the height of the ScaleBar Control.
Visual Basic (Declaration) | |
---|---|
Public Property BarHeight As Double |
C# | |
---|---|
public double BarHeight {get; set;} |
The BarHeight of the ScaleBar Control is the total height of the graphic bars in the Control; not one of the single individual alternating sub-bars.
XAML | Copy Code |
---|---|
<esri:ScaleBar Name="ScaleBar1" Map="{Binding ElementName=Map1}" BarHeight="50" /> |
C# | Copy Code |
---|---|
//The ScaleBar Control (named ScaleBar1) was define previously in the code...
ScaleBar1.BarHeight = 50; |
VB.NET | Copy Code |
---|---|
'The ScaleBar Control (named ScaleBar1) was define previously in the code...
ScaleBar1.BarHeight = 50 |
Target Platforms:Windows Phone 7