Roberto Salemi

Roberto Salemi

  • NA
  • 146
  • 141.2k

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

Apr 9 2015 10:44 AM
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)