Click here to Skip to main content
12,759,636 members (33,726 online)

Silverlight / WPF

 
QuestionDataTrigger bind to a Property Pin
mbv80023-Dec-12 18:01
membermbv80023-Dec-12 18:01 
AnswerRe: DataTrigger bind to a Property Pin
Pete O'Hanlon23-Dec-12 20:17
protectorPete O'Hanlon23-Dec-12 20:17 
AnswerRe: DataTrigger bind to a Property Pin
Wayne Gaylard23-Dec-12 20:39
mentorWayne Gaylard23-Dec-12 20:39 
QuestionWPF Adorner Issues Pin
John Simmons / outlaw programmer17-Dec-12 11:52
mvpJohn Simmons / outlaw programmer17-Dec-12 11:52 
AnswerRe: WPF Adorner Issues Pin
SledgeHammer0118-Dec-12 5:49
memberSledgeHammer0118-Dec-12 5:49 
GeneralRe: WPF Adorner Issues Pin
John Simmons / outlaw programmer20-Dec-12 10:09
mvpJohn Simmons / outlaw programmer20-Dec-12 10:09 
GeneralRe: WPF Adorner Issues Pin
SledgeHammer0121-Dec-12 5:50
memberSledgeHammer0121-Dec-12 5:50 
QuestionSilverlight Dynamic indexed binding Pin
Member 934221816-Dec-12 19:02
memberMember 934221816-Dec-12 19:02 
I have a requirement where I am using a datagrid and the number of columns will not be known until runtime. I found the following article and was able to get it working.

http://elegantcode.com/2010/03/08/silverlight-datagrid-populate-dynamic-columns-from-a-child-collection/

However this solution uses the XamlReader and creates a datatemplate in the code behind. I am not entirely happy with this solution. Is there another way that I can achieve the same result without using the XamlReader. Essentially im trying to achieve something like this

CellTemp.Append(String.Format("<TextBlock Text='{{Binding Periods[{0}].{1}}}'/>", index, propertyName));
but instead of using the XamlReader create this binding in in xaml.

modified 17-Dec-12 0:34am.

QuestionThird Party Controls Pin
Kevin Marois11-Dec-12 8:22
memberKevin Marois11-Dec-12 8:22 
AnswerRe: Third Party Controls Pin
Mycroft Holmes11-Dec-12 13:06
memberMycroft Holmes11-Dec-12 13:06 
AnswerRe: Third Party Controls Pin
Pete O'Hanlon11-Dec-12 13:43
protectorPete O'Hanlon11-Dec-12 13:43 
GeneralRe: Third Party Controls Pin
Kevin Marois12-Dec-12 9:28
memberKevin Marois12-Dec-12 9:28 
GeneralRe: Third Party Controls Pin
Pete O'Hanlon12-Dec-12 9:29
protectorPete O'Hanlon12-Dec-12 9:29 
GeneralRe: Third Party Controls Pin
Kevin Marois12-Dec-12 9:30
memberKevin Marois12-Dec-12 9:30 
GeneralRe: Third Party Controls Pin
Mycroft Holmes12-Dec-12 13:02
memberMycroft Holmes12-Dec-12 13:02 
QuestionHow can I Bind a DataTemplate Slider definition to the Code behind? Pin
maycockt10-Dec-12 6:24
membermaycockt10-Dec-12 6:24 
AnswerRe: How can I Bind a DataTemplate Slider definition to the Code behind? Pin
Alisaunder10-Dec-12 14:52
memberAlisaunder10-Dec-12 14:52 
GeneralRe: How can I Bind a DataTemplate Slider definition to the Code behind? Pin
maycockt14-Dec-12 2:18
membermaycockt14-Dec-12 2:18 
QuestionHow does one define IOleServiceProvider in a C# WPF application? Pin
Xarzu10-Dec-12 4:54
memberXarzu10-Dec-12 4:54 
AnswerRe: How does one define IOleServiceProvider in a C# WPF application? Pin
Pete O'Hanlon10-Dec-12 5:08
protectorPete O'Hanlon10-Dec-12 5:08 
QuestionSetting icons based on Region/city name?! Pin
radkrish9-Dec-12 20:43
memberradkrish9-Dec-12 20:43 
AnswerRe: Setting icons based on Region/city name?! Pin
Abhinav S9-Dec-12 21:12
mvpAbhinav S9-Dec-12 21:12 
QuestionWPF ComboBox Selected Item Problem Pin
Kevin Marois8-Dec-12 11:48
memberKevin Marois8-Dec-12 11:48 
AnswerRe: WPF ComboBox Selected Item Problem Pin
Ninja__Turtle8-Dec-12 18:43
memberNinja__Turtle8-Dec-12 18:43 
AnswerRe: WPF ComboBox Selected Item Problem Pin
Wayne Gaylard8-Dec-12 19:24
mentorWayne Gaylard8-Dec-12 19:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 17 Feb 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid