Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxMapItemFileLayer.Active Property

Makes the layer’s map items available for display in a map control.

#Declaration

Delphi
property Active: Boolean read; write; default False;

#Property Value

Type Default
Boolean False

#Remarks

Set this property to True to:

  • Load map items from the file specified using the FileType and FileName properties. If an exception occurs during this operation, the Active property value remains unchanged (False) and the layer’s MapItems collection is cleared;

  • Make the loaded map items available for display in a map control.

Setting the Active property to False clears the layer’s MapItems collection.

The default value of the Active property is False.

See Also