Class CalloutDefinition
Defines the content of a callout when used to display on a GeoView using the various ShowCallout methods.
Inheritance
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) |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.1 - 200.8 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 200.8 |