I've never tried this before so maybe this isnt the best way but here is what I came up with:
To access the first trigger in your datatemplate:
Now you can access the Binding property of that object and I assume that is what you were aftervb Code:
Dim trigzero As DataTrigger = DirectCast(ListBox1.ItemTemplate.Triggers(0), DataTrigger)![]()





Reply With Quote