|
-
January 17th, 2010, 02:58 AM
#2
Re: WPF Control Arrays?
I would try to get away from initializing controls as much as possible in code behind and use data binding instead.
In addition rather than using a fixed number of controls in an array, I would use a custom list and bind the array to the list (in other words, each SegmentControl would be a list item).
The advantage of this approach is that you would end up with very little initialization code in the code behind.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|