Hello, How can I make binding between properties of two elements inside dataTemplate ?
example : // Bind Text property to Content property
<DataTemplate>
<TextBox Text="{Binding}" />
<Label Content="{Binding}" />
</Datatemplate>
Hello, How can I make binding between properties of two elements inside dataTemplate ?
example : // Bind Text property to Content property
<DataTemplate>
<TextBox Text="{Binding}" />
<Label Content="{Binding}" />
</Datatemplate>
If I correctly understood.
<DataTemplate>
<TextBox x:Name="p_text" Text="{Binding login}"/>
<Button Content="{Binding ElementName=p_text, Path Text}"/>
</DataTemplate>