Привязка RelativeSource из всплывающей подсказки или ContextMenu

Что я здесь не так делаю?:

 <GridViewColumn>
    <GridViewColumn.CellTemplate>
       <DataTemplate>
          <Button>
            <Button.ToolTip>
              <TextBlock Text="{Binding Path=Title, RelativeSource={RelativeSource AncestorType=Window}}" />

Это просто упрощенный пример, который все равно не работает :) Actually I need to get a value from another property that is in scope of the Window's DataContext.

Help me pls.

30
задан iLemming 8 September 2010 в 15:43
поделиться