This document is archived and information here might be outdated.  Recommended version.


ILegendItem2.KeepTogether Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILegendItem2 Interface > ILegendItem2.KeepTogether Property
ArcGIS Developer Help

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(
  Boolean* flag
);
[C++]
HRESULT put_KeepTogether(
  VARIANT_BOOL flag
);
[C++]
Parameters
flag [out, retval]

flag is a parameter of type bool* flag [in]
flag is a parameter of type bool

Product Availability

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

See Also

ILegendItem2 Interface