<Window x:Class="WpfApp_Binding.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WpfApp_Binding"
        mc:Ignorable="d"
        Title="MainWindow" Height="150" Width="300">
    <StackPanel Margin="10">
        <TextBlock Text="Unesite tekst" FontWeight="Bold"/>
        <TextBox Padding ="2" Name="txtValue" />
        <TextBlock Margin="0 10" Text="Uneli ste: " FontWeight="Bold" />
        <TextBlock Text="{Binding Path = Text, ElementName=txtValue}" />
    </StackPanel>
</Window>
