Back to Devexpress

TdxCustomMapControl.Deselect(TdxMapItem) Method

vcl-dxmapcontrol-dot-tdxcustommapcontrol-dot-deselect-x28-dxmapitem-dot-tdxmapitem-x29.md

latest1.2 KB
Original Source

TdxCustomMapControl.Deselect(TdxMapItem) Method

Deselects a specified map item.

Declaration

delphi
procedure Deselect(AMapItem: TdxMapItem);

Parameters

NameType
AMapItemTdxMapItem

Remarks

Pass a map item that you want to deselect as the AMapItem parameter.

Handle the map control’s OnSelectionChanged and OnSelectionChanging events to respond to selection changes and prohibit certain map items from being selected/deselected.

See Also

TdxCustomMapControl.ClearSelection

TdxCustomMapControl.Select

TdxCustomMapControl.SelectedMapItems

TdxCustomMapControl Class

TdxCustomMapControl Members

dxMapControl Unit