User Tools

Site Tools


api:dk11:delphi:fmx.giscontrollegend.tgis_controllegend.collapse_tgis_layer

Table of Contents



TGIS_ControlLegend.Collapse(TGIS_Layer) method

DK for Delphi | FMX.GisControlLegend.TGIS_ControlLegend.Collapse | Overloads | Constructors | Methods | Properties | Events

Collapses the legend item associated with the specified layer.

Available also on: .NET WinForms | Java | ActiveX.

Syntax

// Delphi
public
  procedure Collapse(
    const _layer : TGIS_Layer
  ); overload;
// C++ Builder
public:
  void Collapse(
    TGIS_Layer* const _layer
  ) /* overload */;

Parameters

Name Type Description
_layer TGIS_Layer layer to collapse

Remarks

PURPOSE: Closes the legend entry for a layer to hide its child items or parameter sections.

BEHAVIOR: Changes the display state of the specified layer item to collapsed.

2026/10/31 22:58

Page Tools