<Window x:Class="FirstDataBinding.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Proste wiązanie danych" Height="232" Width="364">
	<Grid>
		<Rectangle  Name="rectangle1"  Margin="12,62,12,12" Stroke="Red" StrokeThickness="3" 
					RadiusX="{Binding ElementName=slider1, Path=Value}"
					RadiusY="{Binding ElementName=slider1, Path=Value}"
					/>
		<Slider  Name="slider1" Height="23" Margin="12,12,12,0" VerticalAlignment="Top" Maximum="180" ValueChanged="slider1_ValueChanged" />
	</Grid>
</Window>

<!--RadiusY="{Binding Value,  ElementName=slider1}"-->
