Back to Devexpress

InformationDataProviderBase.GenerateLayerItems Property

windowsforms-devexpress-dot-xtramap-dot-informationdataproviderbase-087f8a5a.md

latest2.7 KB
Original Source

InformationDataProviderBase.GenerateLayerItems Property

Gets or sets a value indicating whether or not it is necessary to automatically generate items for this layer.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
[DefaultValue(true)]
public bool GenerateLayerItems { get; set; }
vb
<DefaultValue(True)>
Public Property GenerateLayerItems As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true to generate layer items; otherwise, false.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GenerateLayerItems property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-map-execute-the-search-operation-for-multiple-locations/CS/GetSearchLocationAdditionalInfo/Form1.cs#L131

csharp
infoLayer.DataProvider = searchProvider;
searchProvider.GenerateLayerItems = false;
searchProvider.BingKey = yourBingKey;

winforms-map-execute-the-search-operation-for-multiple-locations/VB/GetSearchLocationAdditionalInfo/Form1.vb#L114

vb
infoLayer.DataProvider = searchProvider
searchProvider.GenerateLayerItems = False
searchProvider.BingKey = yourBingKey

See Also

InformationDataProviderBase Class

InformationDataProviderBase Members

DevExpress.XtraMap Namespace