Skip To Content ArcGIS for Developers Sign In Dashboard

PopupExpression Class

(Esri::ArcGISRuntime::PopupExpression)

Defines an Arcade expression within a Popup. More...

Header: #include <PopupExpression>
Since: Esri::ArcGISRuntime 100.3
Inherits: Object

Public Functions

~PopupExpression()
QString expression() const
QString name() const
Esri::ArcGISRuntime::PopupExpressionReturnType returnType() const
void setExpression(const QString &expression)
void setName(const QString &name)
void setReturnType(Esri::ArcGISRuntime::PopupExpressionReturnType returnType)
void setTitle(const QString &title)
QString title() const
  • 31 public functions inherited from QObject

Additional Inherited Members

Detailed Description

Defines an Arcade expression within a Popup.

Arcade is an expression language that can be used across the ArcGIS Platform. Whether writing simple scripts to control how features are rendered, or expressions to control label text, Arcade provides a simple scripting syntax to deliver these capabilities.

Obtain PopupExpressions from a PopupDefinition.

Note: You cannot create an object of this class.

Member Function Documentation

PopupExpression::~PopupExpression()

Destructor.

QString PopupExpression::expression() const

Returns the Arcade expression defined in this expression.

See also setExpression().

QString PopupExpression::name() const

Returns the name of this expression.

See also setName().

Esri::ArcGISRuntime::PopupExpressionReturnType PopupExpression::returnType() const

Returns the return type of this expression.

See also setReturnType().

void PopupExpression::setExpression(const QString &expression)

Sets the Arcade expression defined in this expression to expression.

Please see the Arcade documentation for details on how to set an Arcade expression.

See also expression().

void PopupExpression::setName(const QString &name)

Sets the name of this arcade expression name.

See also name().

void PopupExpression::setReturnType(Esri::ArcGISRuntime::PopupExpressionReturnType returnType)

Sets the return type of this expression to returnType.

See also returnType().

void PopupExpression::setTitle(const QString &title)

Sets the title of this expression to title.

See also title().

QString PopupExpression::title() const

Returns the title of this expression.

See also setTitle().


Feedback on this topic?