Possible Duplicate:
WPF Binding Syntax Question
I’ve been using this syntax all over the place, and I thought I knew what it did, but now I have no idea.
Value="{Binding}"
I am having huge trouble searching for this syntax online because of course the curly brackets are ignored.
For instance:
<Style x:Key="GridCell" TargetType="{x:Type TextBlock}">
<Setter Property="ToolTip" Value="{Binding}}"/>
</Style>
When applied as a style to a textblock is binding the tooltip to the unfomatted (unconverted) property that the textblock content (text) is bound to.
Its data binding value to the root of the window or control’s
DataContext.