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


ILegendGroup.Editable Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

ILegendGroup.Editable Property

Indicates if the group can be edited. Default is editable.

[Visual Basic .NET]
Public Property Editable As Boolean
[C#]
public bool Editable {get; set;}
[C++]
HRESULT get_Editable(
  VARIANT_BOOL* Editable
);
[C++]
HRESULT put_Editable(
  VARIANT_BOOL Editable
);
[C++]

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

Product Availability

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

Remarks

This property indicates whether or not the symbols and text strings in the LegendClass objects of a LegendGroup can be edited. If this property is False then the user cannot edit the group's symbols and text labels in the ArcMap table of contents.

For example, the legend for a layer symbolized with a ChartRenderer with PieChartSymbols consists of two legend groups. The first legend group contains a representative pie chart symbol and is not editable. The second legend group contains the individual fill symbols that make up the pie chart slices, and this legend group is editable.

See Also

ILegendGroup Interface