I have a combobox to which I am binding a List. For each item in a combobox based on ID, I fetch data from Database and display tool tip. ToolTip is able to get proper data for the first time.
When I change any other item in Combobox the tool tip still shows the old content? How can I get the updated value when the combobox selection is changed?
Below is my Xaml Code:
<ddd:ComboBoxEdit x:Name="pboPlayers"
 Focusable="False"
 NullText="Select Players"
 Background="White"
 VerticalAlignment="Top"
 Height="24"
 ItemsSource="{Binding Path=RowData.Row.PlayerList}"
 DisplayMember="PlayerName"
 ValueMember="PlayerPk"
 SelectedIndex="0"
 <dxmvvm:Interaction.Behaviors>
   <dxmvvm:EventToCommand EventName="SelectedIndexChanged" Command=" 
{Binding RowData.Row.OnPlayerChangedCommand}" 
 PassEventArgsToCommand="True"/>
    </dxmvvm:Interaction.Behaviors>
  <ddd:ComboBoxEdit.ToolTip>
     <ToolTip>
     <ToolTip.Style>
                <Style TargetType="{x:Type ToolTip}">
                   <Style.Triggers>
                        <DataTrigger Binding="{Binding 
 Path=RowData.Row.PlayerToolTipText}" Value="">
                            <Setter Property="Visibility" 
Value="Collapsed"/>
                        </DataTrigger>
                        <DataTrigger Binding="{Binding 
Path=RowData.Row.PlayerToolTipText}" Value="{x:Null}">
                             <Setter Property="Visibility" 
 Value="Collapsed"/>
                        </DataTrigger>
                   </Style.Triggers>
                  </Style>
             </ToolTip.Style>
             <TextBlock ToolTip="{Binding Path=RowData.Row.PlayerToolTipText}" />
       </ToolTip>
  </ddd:ComboBoxEdit.ToolTip>