If i have a collection of elements in a control (e.g. a custom ItemsControl), can i set a property on all the children of that control through a style in a resource dictionary. For instance i would like to set the visibility on all those elements on a certain trigger. Is this possible decoratively?
Cheers
J
Sure, we can use the ItemsControl.ItemContainerStyle on an ItemsControl or any derived control to set a style for the contained elements.