Back to Devexpress

TdxCustomMapControl.OnSelectionChanging Event

vcl-dxmapcontrol-dot-tdxcustommapcontrol-523ded92.md

latest1.4 KB
Original Source

TdxCustomMapControl.OnSelectionChanging Event

Enables you to prohibit certain items from being selected/deselected.

Declaration

delphi
property OnSelectionChanging: TdxMapControlSelectionChangingEvent read; write;

Remarks

Sender specifies the map control.

AItem specifies the map item to be added or removed from the current selection.

AAllow specifies whether the selection change is allowed. Set AAllow to False to prohibit the selection from being modified.

The OnSelectionChanged event fires after all OnSelectionChanging events are handled.

See Also

TdxCustomMapControl.ClearSelection

TdxCustomMapControl.Deselect

TdxCustomMapControl.Select

TdxMapControlOptionsBehavior.MapItemSelectMode

TdxMapItem.Selected

TdxCustomMapControl Class

TdxCustomMapControl Members

dxMapControl Unit