1
Answer

[WPF] Path: concatenate string and binding value on ToolTip

Roberto Salemi

Roberto Salemi

9y
1.8k
1
Hi,

I defined:

<DataGridTemplateColumn>
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<Path
Fill="{StaticResource iconMenuColor}"
Data="{StaticResource IconHasSampleBlending}"
Visibility="{Binding DerivedSampleName, Converter={StaticResource SmpBlendingImgVisibilityConverter}}"
Style="{StaticResource sampleBlendingIcon}"
ToolTip="{Binding DerivedSampleName}"
/>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>

Can I concatenate a custom string in Tooltip with Binding Value?

Thanks.
Answers (1)