ArcObjects Library Reference (Carto)  

ILegendItem2.KeepTogether Property

Indicates if classes must appear in a single column or whether they can be split across multiple columns.

[Visual Basic .NET]
Public Property KeepTogether As Boolean
[C#]
public bool KeepTogether {get; set;}
[C++]
HRESULT get_KeepTogether(
  VARIANT_BOOL* flag
);
[C++]
HRESULT put_KeepTogether(
  VARIANT_BOOL flag
);
[C++]

Parameters

flag [out, retval]   flag is a parameter of type VARIANT_BOOL flag [in]   flag is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ILegendItem2 Interface