ESRI.ArcGIS.ADF.Web.UI.WebControls
BodyFormatString Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > MapTips Class : BodyFormatString Property




The format string, including any field attributes to display, for the map tips content.

Syntax

Visual Basic (Declaration) 
<NotifyParentPropertyAttribute(True)>
<DefaultValueAttribute()>
<ResDescriptionAttribute("This property is no longer used.")>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.MapTipsExpressionEditor, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
<PersistenceModeAttribute()>
<BrowsableAttribute(False)>
<ObsoleteAttribute("Use the LayerFormat property")>
<ResCategoryAttribute("MapTips")>
Public Property BodyFormatString As String
Visual Basic (Usage)Copy Code
Dim instance As MapTips
Dim value As String
 
instance.BodyFormatString = value
 
value = instance.BodyFormatString
C# 
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[ResDescriptionAttribute("This property is no longer used.")]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.MapTipsExpressionEditor, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
[PersistenceModeAttribute()]
[BrowsableAttribute(false)]
[ObsoleteAttribute("Use the LayerFormat property")]
[ResCategoryAttribute("MapTips")]
public string BodyFormatString {get; set;}

Return Value

Format string for the map tips body content.

Remarks

When the user clicks the map tip icon, the map tip expands to display additional information. This property determines the additional content displayed in the lower portion of the maptip when its icon is clicked.

The content may include both attribute fields of the feature at the maptip location, as well as any other content added by the developer, including hyperlinks. For more information on setting content, see the MapTips control discussion in the Developer Help.

If this property is not set, the expanded map tip will display white space below the maptip header.

See Also

© 2010 All Rights Reserved.