page.DataContext not inherited from parent Frame?
I have a Page page in a Frame frame , with frame.DataContext = "foo" . (page.Parent as Frame).DataContext is "foo" . ok BindingExpression for page.DataContext is null (also forced with ClearValue). ok page.DataContext is null . but I expected "foo"! Why isn't the DataContext inherited? As far as I understand the Frame sandboxes the content. But I couldn't find any documentation of this behavior - can anyone point me to a place where this is mentioned? To answer your question about documentation of this behavior: It's not Microsoft documentation, but I have a couple of WPF books that both