WPF Custom Control containing a List of Objects
Posted
by Cecile
on Stack Overflow
See other posts from Stack Overflow
or by Cecile
Published on 2010-05-26T10:05:58Z
Indexed on
2010/05/26
10:51 UTC
Read the original article
Hit count: 182
wpf
|custom-controls
Hi, I have an object Trip in my object model containing a list of Nodes (e.g. NodeName, StartDate and EndDate) and I am trying to build a Custom control in WPF that draws list of rectangles: one for each Node contained in the Trip object (based on StartDate en EndDate)
Would you have any hint on how the Custom Control should be structured so that I can bind a Trip object to it and draw the rectangles properly, please?
© Stack Overflow or respective owner