Back to Devexpress

MapControl.ShowSearchPanel Property

windowsforms-devexpress-dot-xtramap-dot-mapcontrol-857f75e1.md

latest2.9 KB
Original Source

MapControl.ShowSearchPanel Property

OBSOLETE

The ShowSearchPanel is obsolete now. Use the SearchPanelOptions.Visible property instead.

Specifies whether or not the Search Panel should be shown.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("The ShowSearchPanel is obsolete now. Use the SearchPanelOptions.Visible property instead.")]
[PreferableMember("MapControl", "CalculateKilometersScale", "")]
public bool ShowSearchPanel { get; set; }
vb
<Obsolete("The ShowSearchPanel is obsolete now. Use the SearchPanelOptions.Visible property instead.")>
<PreferableMember("MapControl", "CalculateKilometersScale", "")>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Property ShowSearchPanel As Boolean

Property Value

TypeDescription
Boolean

true to show the Search Panel; otherwise, false.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowSearchPanel 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#L133

csharp
searchProvider.BingKey = yourBingKey;
    map.ShowSearchPanel = false;
}

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

vb
searchProvider.BingKey = yourBingKey
    map.ShowSearchPanel = False
End Sub

See Also

MapControl Class

MapControl Members

DevExpress.XtraMap Namespace