The LegendItem object represents a legend item. Depending on its level (see the LegendItem::Level property), the legend item shows display styles for a layer, feature type, or theme filter group.