The MapLegendBase class implements basic functionality common to all legends.
For instance, it implements the Alignment property, which defines how a legend is aligned within a map; as well as the Header and Description properties, which define additional text displayed on a legend. To control the visibility of a legend, use its Visibility property.
For more information, refer to Legends.