Wpf: Can Trigger.Value refer to a static property?

I am basically trying to do this:

<Trigger Property="Item" Value="{c:CollectionView.NewItemPlaceHolder}"> 

But the syntax is incorrect. Can this be done?

+4
source share
1 answer
 <Trigger Property="Item" Value="{x:Static c:CollectionView.NewItemPlaceHolder}"> 
+3
source

All Articles