TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
person
NA
96
0
Triggers and data binding
Aug 18 2009 10:48 AM
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.
Reply
Answers (
1
)
Databinding to Grid
Big big problem with WPF App.