Skip To Content ArcGIS for Developers Sign In Dashboard

UniqueValue QML Type

A unique value definition for use with a unique value renderer. More...

Import Statement: import Esri.ArcGISRuntime 100.8
Since: Esri.ArcGISRuntime 100.0





  • UniqueValue clone()
  • bool equals(UniqueValue uniqueValue)

Detailed Description

A unique value corresponds to a specific value for an attribute field. A list of unique value instances are maintained in the UniqueValueListModel. When the unique value renderer is used to display a layer, the symbol used for a feature is determined by the value in a selected attribute. When the value matches the unique value, the corresponding symbol and label display.

Unique values contain a value and description, as well as the label and symbol to display for features that contain attribute values that match the unique value.

This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.

TypeDefault Property

See also JsonSerializable.

Property Documentation

description : string

The description of this unique value.

json : jsobject

The JSON representation of this object.

This JSON can be used to instantiate the type instance.

label : string

The label used to display this unique value.

[default] symbol : Symbol

The symbol used to display this unique value.

unknownJson : jsobject

Returns the unknown JSON from the source JSON.

See also JsonSerializable.

unsupportedJson : jsobject

Returns the unsupported data from the source JSON.

See also JsonSerializable.

values : list<variant>

The attribute value or list of values that comprise this unique value.

Signal Documentation


Emitted when the description property changes.


Emitted when the label property changes.


Emitted when the symbol property changes.


Emitted when the values property changes.

Method Documentation

UniqueValue clone()

Creates a deep copy of this object.

bool equals(UniqueValue uniqueValue)

Compares two unique values for equality.

Returns whether this instance and the other uniqueValue are equal.

Feedback on this topic?