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

Language:      C#
Subject:       Framework
Contributor:   ArcGIS Pro SDK Team <[email protected]>
Organization:  Esri, http://www.esri.com
Date:          11/24/2020
ArcGIS Pro:    2.7
Visual Studio: 2017, 2019

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** ⚠️