Ok. This works. <Window x:Class="ZoomTest.Window3" x:Name="Me" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Window3" Height="300" Width="300"> <StackPanel> <ProgressBar x:Name="Progress" Value="{Binding Path=Val, ElementName=Me, Mode=Default}"/> <Slider x:Name="MySlider" Value="{Binding Path=Val, ElementName=Me, Mode=Default}" Minimum="{Binding Path=Minimum, ElementName=Progress, Mode=Default}" Maximum="{Binding Path=Maximum, ElementName=Progress, Mode=Default}"/> </StackPanel> </Window> But I hate Me. It reminds me of VB. Ideally this would be more concise but doesn't work: <Window x:Class="ZoomTest.Window3" x:Name="Me" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Window3" Height="300" Width="300"> <StackPanel> <ProgressBar x:Name="Progress" Value="{Binding Path=Val}"/> <Slider x:Name="MySlider" Value="{Binding Path=Val}" Minimum="{Binding Path=Minimum, ElementName=Progress}" Maximum="{Binding Path=Maximum, ElementName=Progress}"/> </StackPanel> </Window> Is there any way to set the default data context to the window for all of it's children?
Sincerely, -Ron