title: Displaying a tooltip for each Combobox item when the list is opened C# WPF XAML MVVM
body: <p>I'm developing an application in C# MVVM
  My question is about adding a tooltip for each item that the ComboBox is binded to. Since there are two items only I want it to show the tooltip whenever I open the dropdown and hover my mouse over one of the items , like this: </p>
  
  <p>if I hover my mouse over the first element in the dropDown I'll get a ToolTip with " first item".. and "second item" when I hover over the second element.</p>
  
  <p>ComboBox is placed in DataGridTemplateColumn -> Cell Template -> DataTemplate</p>
  
  <pre><code>&lt;DataGridTemplateColumn Header="PRĄD POJEMNOŚCIOWY [A]" HeaderStyle="{StaticResource PRAD_POJEMNOSCIOWY}"&gt;
   &lt;DataGridTemplateColumn.CellTemplate&gt;
    &lt;DataTemplate&gt;
     &lt;ComboBox Name="PradPojemnosciowyComboBox"
               SelectedValue="{Binding SelectedItem, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
               ItemsSource="{Binding Path=LiniaWyComboBox, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
               IsEditable="True"
               IsReadOnly="False"
               Text="{Binding Prad_pojemnosciowy, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
               IsTextSearchEnabled="False" 
               IsSynchronizedWithCurrentItem="True"
               PreviewKeyDown="PradPojemnosciowyComboBox_OnPreviewKeyDown"&gt;
  
            &lt;ComboBox.Style&gt;
             &lt;Style TargetType="ComboBox"&gt;
              &lt;Style.Triggers&gt;
              &lt;Trigger Property="SelectedValue" Value="{x:Null}"&gt;
            &lt;Setter Property="SelectedIndex" Value="{Binding LiniaWyComboBox}"/&gt;
              &lt;/Trigger&gt;
             &lt;/Style.Triggers&gt;
            &lt;/Style&gt;
      &lt;/ComboBox.Style&gt;
     &lt;/ComboBox&gt;
    &lt;/DataTemplate&gt;
   &lt;/DataGridTemplateColumn.CellTemplate&gt;
  &lt;/DataGridTemplateColumn&gt;
  </code></pre>
  
  <p><strong>UPDATE</strong></p>
  
  <p>ToolTipLabel.cs:</p>
  
  <pre><code>using System.ComponentModel;
  using System.Collections.ObjectModel;
  
  namespace GPZmodel.UserControlsGraphicGenerators
  {
     public class ToolTipLabel : INotifyPropertyChanged
  {
      private string _toolTipText;
      public string ToolTipText
      {
          get { return _toolTipText;}
          set
          {
              if (_toolTipText != value)
              {
                  _toolTipText = value;
              }
          }
      }
      public ObservableCollection&lt;ToolTipLabel&gt; ToolTipList = new ObservableCollection&lt;ToolTipLabel&gt;()
      {
          new ToolTipLabel() {ToolTipText = "Nazwa1"} ,
          new ToolTipLabel() {ToolTipText = "Nazwa2"} ,
  
      };
  
      protected void OnPropertyChanged(string propertyName)
      {
          PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
      }
  
      public event PropertyChangedEventHandler PropertyChanged;
  }
  </code></pre>
  
  <p>}</p>