Triggers and data binding
Hi,
Can anyone shed light on here:
------------------------------------------------------------------------------------
<DataTemplate x:Key="MainTemplate" x:Name="mainTemplate" DataType="{x:Type src:SlotDescriptor}" >
<Border Name="border">
</Border>
<DataTemplate.Triggers>
<DataTrigger Binding="{Binding Path=Type}" Value="LIVE_TURN">
--------------------------------------------------------------------------------
So SlotDescriptor should be the class/object itself.
And Type should be a property of such class/object.
Am I right in saying this?
Thanks in advance
Urema.