Panel depends on ImmutableStore.
Only creating FrameworkElement.Resources on demand.