Select to view content in your preferred language

Custom tooltip control same as used by ArcGis Pro

594
1
02-10-2023 03:19 PM
ArcGisProNewbieDev
New Contributor

Hi Community,

I am a new Wpf and ArcGis Pro developer. I have come across a use case where I need to implement a tool tip exactly same present in  ArcGis Pro having tool tip, tool tip heading and disabled tool tip which is then to be used in my own custom xaml. 

Can someone head me in the right direction?

 

@GKmieliauskas @Wolf 

Tags (3)
0 Kudos
1 Reply
GKmieliauskas
Esri Regular Contributor

Hi,

Which tooltips are you talking about: ArcGIS Pro ribbon buttons and tools or WPF window controls?

In first case you can specify them in daml:

<button id="acme_rename" caption="Rename" className="RenameProjectItem" smallImage="/Images/GenericPencil16.png">
  <tooltip heading="Rename">Rename the project item.
    <disabledText>No project loaded.</disabledText>
  </tooltip>
</button>

For WPF window controls there is no one way for tooltips. Some of controls have original tooltips, some - no. But you can do styling or something like this. You can search internet for samples

0 Kudos