![]() ![]() |
ESRI.ArcGIS.ADF.Web.UI.WebControls | |
ShowOnlyWhenLayerIsVisible Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > MapTips Class : ShowOnlyWhenLayerIsVisible Property |
Visual Basic (Declaration) | |
---|---|
<ResCategoryAttribute("MapTips")> <PersistenceModeAttribute(PersistenceMode.Attribute)> <BindableAttribute(Bindable=True, Direction=BindingDirection.OneWay)> <ResDescriptionAttribute("Whether to limit map tip visibility to when the layer is visible.")> <DefaultValueAttribute()> <BrowsableAttribute(True)> <NotifyParentPropertyAttribute(True)> Public Property ShowOnlyWhenLayerIsVisible As Boolean |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As MapTips Dim value As Boolean instance.ShowOnlyWhenLayerIsVisible = value value = instance.ShowOnlyWhenLayerIsVisible |
C# | |
---|---|
[ResCategoryAttribute("MapTips")] [PersistenceModeAttribute(PersistenceMode.Attribute)] [BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)] [ResDescriptionAttribute("Whether to limit map tip visibility to when the layer is visible.")] [DefaultValueAttribute()] [BrowsableAttribute(true)] [NotifyParentPropertyAttribute(true)] public bool ShowOnlyWhenLayerIsVisible {get; set;} |
Property Value
Whether maptips are displayed only with the layer itself.When this property is true (the default), maptips only display when the map layer is also visible. If the layer is not visible because it is turned off or not visible at the current map scale, the maptips will not be displayed.
Set this property to false to display maptips at all times, even if the layer is not visible. Note that if the layer is scale-dependent and the map is displayed at small scales, a setting of false could result in large numbers of maptips displayed, or only a small portion of features within the map extent to have maptips.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family