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
System.Object
CalloutDefinition
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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(GeoElement, String, String)

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

DetailTextExpression

Gets or sets an optional description for the callout as an Arcade expression.

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

TextExpression

Gets or sets the header title for the callout as an Arcade expression

Methods

Name Description
SetIconFromSymbolAsync(Symbol, Double)

Generates the Icon from a Symbol

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.1 - 200.7
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.7

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.