Ticket T318609
Visible to All Users

Display tooltip for MapControl using WinForms VB.NET

created 9 years ago

How do I display a tooltips showing some information for the record on the map control pushpin? In few words, when hover other a pushpin, I would like to see some information for that record. I found several example using WPF but I need to do it in VB using WinForms.

Thanks.

Answers approved by DevExpress Support

created 9 years ago (modified 9 years ago)

Hi Silvio,

Please refer to the "Olympic Medals" demo module (see the C:\Users\Public\Documents\DevExpress Demos 15.1\Components\WinForms\VB\MapMainDemo\Modules folder), where a custom tooltip functionality is implemented. Should you need further clarification, feel free to ask. We will be happy to help you.

    Show previous comments (8)
    DevExpress Support Team 9 years ago

      Hello Silvio,
      In case of color names in a database, it is necessary to use a converter. I have attached a video with your sample to illustrate how to enable it. To colorize records with empty TerritoryColor values, it is possible to use the DefaultValue property. I have found an issue with the default color in case of the converter usage and created a separate thread for our developers regarding it.
      The DefaultValue property does not work with a converter
      Once we have any news about this issue, we will notify you.

        Thank you Maxim. You are the best!!! Simple enough.

        DevExpress Support Team 9 years ago

          You are welcome.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.