Roberto Salemi

Roberto Salemi

  • NA
  • 146
  • 136.6k

[WPF] How get the text in TextBlock

Feb 25 2015 7:29 AM

Hi,

I have a column in my grid:

<DataGridTemplateColumn Header="{StaticResource datagridScheduled}">

<DataGridTemplateColumn.CellTemplate>

<DataTemplate>

<TextBlock Name="dgScheduleType" Text="{Binding Type, Mode=TwoWay}" />

</DataTemplate>

</DataGridTemplateColumn.CellTemplate>

</DataGridTemplateColumn>

I use a <MultiBinding.Bindings> for a Converter, so, how can I pass the text in textblock to convert?


Thanks.


Answers (2)