windowsforms-devexpress-dot-xtramap-dot-informationdataproviderbase-087f8a5a.md
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
[DefaultValue(true)]
public bool GenerateLayerItems { get; set; }
<DefaultValue(True)>
Public Property GenerateLayerItems As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
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.
infoLayer.DataProvider = searchProvider;
searchProvider.GenerateLayerItems = false;
searchProvider.BingKey = yourBingKey;
infoLayer.DataProvider = searchProvider
searchProvider.GenerateLayerItems = False
searchProvider.BingKey = yourBingKey
See Also
InformationDataProviderBase Class