Report question

Question: When is x:Reference in WPF resolved and why does XAML element order affect it?