ArcGIS Developers
Dashboard

<PopupTypes.h> - Popup Enums

Collection of Popup enumerations. More...

Header: #include <PopupTypes.h>

Types

enum class FeatureTypeChangeMode { ResetToDefaults, KeepValues }
enum class PopupAttachmentEditState { Original, Added, Deleted }
enum class PopupAttachmentType { Image, Video, Document, Other }
enum class PopupDateFormat { DayShortMonthYear, LongDate, LongMonthDayYear, LongMonthYear, ShortDate, …, Unknown }
enum class PopupErrorCode { InvalidGeoElement, NullNotAllowed, ValueOutOfRange, ExceedsMaxLength }
enum class PopupExpressionReturnType { String, Number }
enum class PopupMediaType { Image, BarChart, ColumnChart, LineChart, PieChart, Unknown }
enum class PopupStringFieldOption { SingleLine, MultiLine, RichText, Unknown }

Detailed Description

Type Documentation

enum class FeatureTypeChangeMode

Enumerates the feature type change modes in a Popup.

FeatureTypeChangeMode can be one of:

ConstantValueDescription
FeatureTypeChangeMode::ResetToDefaults0Resets all fields to the default values defined in the feature template prototype.
FeatureTypeChangeMode::KeepValues1Keeps all applicable current field values. If the value is not allowed in the new feature type, then it will be set to null.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

enum class PopupAttachmentEditState

Enumerates the attachment edit state of the Popup.

PopupAttachmentEditState can be one of:

ConstantValueDescription
PopupAttachmentEditState::Original0Attachments that already existed on the GeoElement and have not been deleted are considered original.
PopupAttachmentEditState::Added1Attachments that have been provided via a URL or directly via data and then added to a GeoElement are considered added.
PopupAttachmentEditState::Deleted2Attachments that existed on the GeoElement but have been removed are considered deleted.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

enum class PopupAttachmentType

Enumerates the type of attachment in the Popup.

PopupAttachmentType can be one of:

ConstantValueDescription
PopupAttachmentType::Image0An image.
PopupAttachmentType::Video1A video.
PopupAttachmentType::Document2A document.
PopupAttachmentType::Other3Other.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

enum class PopupDateFormat

Enumerates the date format for a Popup.

PopupDateFormat can be one of:

ConstantValueDescription
PopupDateFormat::DayShortMonthYear0Example: 30 Dec 1997
PopupDateFormat::LongDate1Example: Tuesday, December 30, 1997
PopupDateFormat::LongMonthDayYear2Example: December 30, 1997
PopupDateFormat::LongMonthYear3Example: December 1997
PopupDateFormat::ShortDate4Example: 12/30/1997
PopupDateFormat::ShortDateLE5Example: 30/12/1997
PopupDateFormat::ShortDateLELongTime6Example: 30/12/1997 5:59:59 PM
PopupDateFormat::ShortDateLELongTime247Example: 30/12/1997 17:59:59
PopupDateFormat::ShortDateLEShortTime8Example: 30/12/1997 6:00 PM
PopupDateFormat::ShortDateLEShortTime249Example: 30/12/1997 18:00
PopupDateFormat::ShortDateLongTime10Example: 12/30/1997 5:59:59 PM
PopupDateFormat::ShortDateLongTime2411Example: 12/30/1997 17:59:59
PopupDateFormat::ShortDateShortTime12Example: 12/30/1997 6:00 PM
PopupDateFormat::ShortDateShortTime2413Example: 12/30/1997 18:00
PopupDateFormat::ShortMonthYear14Example: Dec 1997
PopupDateFormat::Year15Example: 1997
PopupDateFormat::Unknown-1Unknown date format

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

enum class PopupErrorCode

Enumerates the error codes in a Popup.

PopupErrorCode can be one of:

ConstantValueDescription
PopupErrorCode::InvalidGeoElement11000Invalid attributes or geometry on the associated GeoElement.
PopupErrorCode::NullNotAllowed11001Null value not allowed.
PopupErrorCode::ValueOutOfRange11002Value is out of range.
PopupErrorCode::ExceedsMaxLength11003Value exceeds the maximum length.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

enum class PopupExpressionReturnType

Enumerates the type of the result returned by an Arcade expression.

PopupExpressionReturnType can be one of:

ConstantValueDescription
PopupExpressionReturnType::String0A string value is returned.
PopupExpressionReturnType::Number1A numeric value is returned.

This enum was introduced or modified in Esri::ArcGISRuntime 100.3.

enum class PopupMediaType

Enumerates the type of media in a Popup.

PopupMediaType can be one of:

ConstantValueDescription
PopupMediaType::Image0An image.
PopupMediaType::BarChart1A bar chart.
PopupMediaType::ColumnChart2A column chart.
PopupMediaType::LineChart3A line chart.
PopupMediaType::PieChart4A pie chart.
PopupMediaType::Unknown-1An unknown media type.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

enum class PopupStringFieldOption

Enumerates the string field options in a Popup.

PopupStringFieldOption can be one of:

ConstantValueDescription
PopupStringFieldOption::SingleLine0A single-line input box.
PopupStringFieldOption::MultiLine1A multiline input box.
PopupStringFieldOption::RichText2A rich text editor allowing for bold text, highlighting, and so forth.
PopupStringFieldOption::Unknown-1An unknown string field option.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.


Feedback on this topic?