Show / Hide Table of Contents

Class CalloutDefinition

Defines the content of a Callout when used to display on a GeoView using the various ShowCallout methods.

Inheritance
Object
CalloutDefinition
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime.UI
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class CalloutDefinition

Constructors

Name Description
CalloutDefinition(GeoElement)

Initializes a new instance of the CalloutDefinition class from a GeoElement

CalloutDefinition(String)

Initializes a new instance of the CalloutDefinition class.

CalloutDefinition(String, String)

Initializes a new instance of the CalloutDefinition class.

Properties

Name Description
ButtonImage

Gets or sets an image to be provided for the optional button.

DetailText

Gets or sets an optional description for the callout

Icon

Gets or sets an optional icon for the callout.

LeaderOffsetX

Gets or sets the horizontal offset relative to the location of the Callout

LeaderOffsetY

Gets or sets the vertical offset relative to the location of the Callout

MaxWidth

Gets or sets the maximum width of the callout contents.

OnButtonClick

Gets or sets the action executed when clicking the button.

Tag

Gets or sets the tag will be parsed to the OnButtonClick action

Text

Gets or sets the header title for the callout

Methods

Name Description
SetIconFromSymbolAsync(Symbol, Double)

Generates the Icon from a Symbol

See Also

ShowCalloutAt(MapPoint, CalloutDefinition)

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.1 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.1 - 100.15
iOS100.1 - 100.15
UWP100.1 - 200.0

Relevant samples

Find address: Find the location for an address.
Find place: Find places of interest near a location or within a specific area.
Mobile map (search and route): Display maps and use locators to enable search and routing offline using a Mobile Map Package.
Offline geocode: Geocode addresses to locations and reverse geocode locations to addresses offline.
Project: Project a point from one spatial reference to another.
In This Article
Back to top Copyright © 2022 Esri.