I am binding the ItemsSource
of an ItemsControl
to a Textbox
and then using a converter to create UIElement
objects based on the Text
property of the Textbox
. I also have a static resource style that I want to apply to the elements I create.
The problem I'm having is how to set the style of the items created in the converter to the static resource since I don't have access to the static resources in my converter class.