You can set the value of the property to a static resource in this way.

<Anything SomeAttribute="{StaticResource someResource}"/> 

by itself, someResource must be defined in resources. And what if the desired property has a collection type and I need to add an element to it?

 <Anything> <Anything.SomeCollection> ВОТ СЮДА НАДО ДОБАВИТЬ ВСЕГО ОДИН ЭЛЕМЕНТ someResource <Anything.SomeCollection> </Anything> 

    0