My main resources look like this:
You can use the TryGetValue to obtain a single from your ResourceDictionary:
TryGetValue
ResourceDictionary
if (Application.Current.Resources.TryGetValue("DetailLabel", out object style)) { someLabel.Style = (Style)style; }