You cannot bind to a public generic type of type List<T> , however you can bind to a private generic type of type List<Person> by specifying a placeholder type.
C # :
class People : List<Person> {}
Xaml
<Style TargetType="{x:Type People}"> ... </Style>
Update : you need to specify TargetType or the x:Key property for the style, not both.
source share