Report question

Question: How can you retrieve a Brush from a ResourceDictionary defined in XAML and apply it to an element in code?