ProGuide Label Controls - Esri/arcgis-pro-sdk GitHub Wiki

Language:      C#
Subject:       Framework
Contributor:   ArcGIS Pro SDK Team <[email protected]>
Organization:  Esri, http://www.esri.com
Date:          04/04/2024
ArcGIS Pro:    3.3
Visual Studio: 2022

Labels are declared in DAML using the labelControl element within the controls container.

A label is declared using the id and caption attributes. You can also specify the largeImage and smallImage attributes if your label is to have an image associated with it.

Labels are declarative only; they do not have a class implementation.

The label is referenced on a group using the labelControl element with the refID attribute.

<groups>
   <group id="LabelGroup" caption="Group 1">
      <labelControl refID="esri_mapping_labelClassNameLabel"/>
   </group>
</groups>

<controls>    
   <labelControl id="esri_mapping_labelClassNameLabel" caption="Class" />      
</controls>    
⚠️ **GitHub.com Fallback** ⚠️