Class CalloutDefinition
Defines the content of a Callout when used to display on a GeoView using the various ShowCallout methods.
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) |
See Also
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.1 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 100.15 |