0

If the Expander.IsEnabled=false then the tooltip on the header is not active.
Is there a way to have a ToolTip even if Expander.IsEnabled=false?

 <Expander.Header>
      <TextBlock Text="Export" ToolTip="ToolTip - I don't show up if Expander.IsEnabled=false" 
                 Style="{StaticResource TabItemHeaderSemiBold11}"/>
 </Expander.Header>
paparazzo
  • 44,497
  • 23
  • 105
  • 176

1 Answers1

2

Try setting ToolTipService.ShowOnDisabled="True":

<Expander IsEnabled="False">
    <Expander.Header>
        <TextBlock Text="Export" ToolTip="ToolTip - I don't show up if Expander.IsEnabled=false"
                ToolTipService.ShowOnDisabled="True"/>
    </Expander.Header>
</Expander>
Athari
  • 33,702
  • 16
  • 105
  • 146
  • 1
    What is the point of posting an answer to a duplicate question? – Versatile May 21 '15 at 13:50
  • @Versatile points. and to prevent people having to visit another url for an answer that could be easily left here until duplicates are handled. – Josh Feb 27 '19 at 21:55