ArcGIS Pro 2.6 API Reference Guide
KeepTogether Property

ArcGIS.Core.CIM Namespace > CIMLegendItem Class : KeepTogether Property
Gets or sets a value indicating whether the legend item should be kept together.
Syntax
public bool KeepTogether {get; set;}
Public Property KeepTogether As Boolean
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

CIMLegendItem Class
CIMLegendItem Members