title: Adding a ToolTip to a enabled/disabled Picture Control in VB.Net?
body: <p>I need to have a tooltip for an image based on if its enabled or not. Right now I can only make it work with a static tooltip for when it's enabled. How can I make it display a different tooltip if it's disabled?</p>
  
  <pre><code>&lt;Button x:Name="Button" Width="21" Height="21" Padding="1,1,2,1" BorderThickness="0,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Center" Background="DarkGray"&gt;
      &lt;Image Source="../../Images/report.png" Stretch="Fill" HorizontalAlignment="Center" Height="20" Width="20" Margin="0,0,0,0" /&gt;
  &lt;/Button&gt;
  </code></pre>
  
  <pre><code>Public Sub SetButtonEnabled(ByVal arg_blnEnabled As Boolean)
      Dim tp As New System.Windows.Forms.ToolTip
      If arg_blnEnabled Then
          Me.IsEnabled = True
          Me.ToolTip = "Reports"
      Else
          Me.IsEnabled = False
          Me.ToolTip = "Please select a Transmittal"
      End If
  End Sub
  </code></pre>