I have a ComboBox in my WPF application. Using below code I can set the ToolTip as selected value:
ToolTip="{Binding Path=SelectedValue, RelativeSource={RelativeSource Self}}" 
But if I need to set a separate value for ToolTip based on ComboBox selection, the following code is not working:
<controls:ComboBoxEx.Style>
    <Style TargetType="ComboBox" BasedOn="{StaticResource basicStyle}">
        <Style.Triggers>
            <DataTrigger Binding="{Binding Path=SelectedValue, RelativeSource={RelativeSource Self}}" Value="DAW">
                <Setter Property="ToolTip" Value="abc"/>
            </DataTrigger>
            <DataTrigger Binding="{Binding Path=SelectedValue, RelativeSource={RelativeSource Self}}" Value="generic">
                <Setter Property="ToolTip" Value="def"/>
            </DataTrigger>
        </Style.Triggers>
    </Style>
</controls:ComboBoxEx.Style>
 
     
     
    