Show / Hide Table of Contents

Constructor CalloutDefinition

CalloutDefinition(Nullable<String>)

Initializes a new instance of the CalloutDefinition class.

Declaration
public CalloutDefinition(string? text)
Parameters
Type Name Description
System.Nullable<String> text

The title text in the callout

Applies to

Platforms and versions
TargetVersions
UWP100.15

CalloutDefinition(Nullable<String>, Nullable<String>)

Initializes a new instance of the CalloutDefinition class.

Declaration
public CalloutDefinition(string? text, string? detailText)
Parameters
Type Name Description
System.Nullable<String> text

The title text in the callout

System.Nullable<String> detailText

The description text in the callout

Applies to

Platforms and versions
TargetVersions
UWP100.15

CalloutDefinition(GeoElement)

Initializes a new instance of the CalloutDefinition class from a GeoElement

Declaration
public CalloutDefinition(GeoElement element)
Parameters
Type Name Description
GeoElement element

The element to create the definition for.

Remarks

The Text, LeaderOffsetX and LeaderOffsetY will be attempted to be set from the display name and symbols used on the element.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.1 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 100.15
In This Article
Back to top Copyright © 2022 Esri.