Click here to Skip to main content
       

Silverlight / WPF

 
GeneralRe: MVVM:How to bind the MenuItem Command of ListBoxItem ContextMenu dynamically? PinmemberSledgeHammer0129-Dec-12 17:25 
GeneralRe: MVVM:How to bind the MenuItem Command of ListBoxItem ContextMenu dynamically? PinmemberMember 137073829-Dec-12 19:02 
Questionmm PinmemberAishwarya aishu28-Dec-12 0:44 
AnswerRe: mm PinmvpRichard MacCutchan28-Dec-12 5:59 
Generalsiverlight PinmemberAishwarya aishu28-Dec-12 0:42 
GeneralRe: siverlight PinmvpRichard MacCutchan28-Dec-12 5:57 
QuestionDataTrigger bind to a Property Pinmembermbv80023-Dec-12 17:01 
AnswerRe: DataTrigger bind to a Property PinprotectorPete O'Hanlon23-Dec-12 19:17 
AnswerRe: DataTrigger bind to a Property PinmentorWayne Gaylard23-Dec-12 19:39 
QuestionWPF Adorner Issues PinmvpJohn Simmons / outlaw programmer17-Dec-12 10:52 
AnswerRe: WPF Adorner Issues PinmemberSledgeHammer0118-Dec-12 4:49 
GeneralRe: WPF Adorner Issues PinmvpJohn Simmons / outlaw programmer20-Dec-12 9:09 
GeneralRe: WPF Adorner Issues PinmemberSledgeHammer0121-Dec-12 4:50 
QuestionSilverlight Dynamic indexed binding [modified] PinmemberMember 934221816-Dec-12 18: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 PinmemberKevin Marois11-Dec-12 7:22 
AnswerRe: Third Party Controls PinmemberMycroft Holmes11-Dec-12 12:06 
AnswerRe: Third Party Controls PinprotectorPete O'Hanlon11-Dec-12 12:43 
GeneralRe: Third Party Controls PinmemberKevin Marois12-Dec-12 8:28 
GeneralRe: Third Party Controls PinprotectorPete O'Hanlon12-Dec-12 8:29 
GeneralRe: Third Party Controls PinmemberKevin Marois12-Dec-12 8:30 
GeneralRe: Third Party Controls PinmemberMycroft Holmes12-Dec-12 12:02 
QuestionHow can I Bind a DataTemplate Slider definition to the Code behind? Pinmembermaycockt10-Dec-12 5:24 
AnswerRe: How can I Bind a DataTemplate Slider definition to the Code behind? PinmemberAlisaunder10-Dec-12 13:52 
GeneralRe: How can I Bind a DataTemplate Slider definition to the Code behind? Pinmembermaycockt14-Dec-12 1:18 
QuestionHow does one define IOleServiceProvider in a C# WPF application? PinmemberXarzu10-Dec-12 3:54 
AnswerRe: How does one define IOleServiceProvider in a C# WPF application? PinprotectorPete O'Hanlon10-Dec-12 4:08 
QuestionSetting icons based on Region/city name?! Pinmemberradkrish9-Dec-12 19:43 
AnswerRe: Setting icons based on Region/city name?! PinmvpAbhinav S9-Dec-12 20:12 
QuestionWPF ComboBox Selected Item Problem PinmemberKevin Marois8-Dec-12 10:48 
AnswerRe: WPF ComboBox Selected Item Problem PinmemberNinja__Turtle8-Dec-12 17:43 
AnswerRe: WPF ComboBox Selected Item Problem PinmentorWayne Gaylard8-Dec-12 18:24 
GeneralRe: WPF ComboBox Selected Item Problem PinmemberKevin Marois8-Dec-12 19:37 
GeneralRe: WPF ComboBox Selected Item Problem PinmemberKevin Marois8-Dec-12 19:37 
GeneralRe: WPF ComboBox Selected Item Problem PinmentorWayne Gaylard8-Dec-12 19:39 
QuestionAt commands PinmemberPranay Dabholkar7-Dec-12 5:56 
AnswerRe: At commands PinmvpAbhinav S9-Dec-12 20:14 
QuestionCurrency Converter Pinmemberpjank427-Dec-12 5:44 
AnswerRe: Currency Converter PinprotectorPete O'Hanlon7-Dec-12 6:58 
GeneralRe: Currency Converter Pinmemberpjank427-Dec-12 7:38 
QuestionWPF Binding TextBox to Dependency Property Pinmemberg_ap5-Dec-12 1:02 
AnswerRe: WPF Binding TextBox to Dependency Property PinmemberRichard Deeming5-Dec-12 2:53 
Questionhighlight list view - is--moueOver PinmemberdominioYP3-Dec-12 10:07 
AnswerRe: highlight list view - is--moueOver PinmemberSledgeHammer013-Dec-12 11:52 
QuestionWPF DrawingContext DrawText bug??? Pinmembersubakaev2-Dec-12 21:09 
QuestionHow do you stop a WebBrowser object in WPF? PinmemberXarzu2-Dec-12 4:25 
AnswerRe: How do you stop a WebBrowser object in WPF? PinmvpRichard MacCutchan2-Dec-12 4:54 
QuestionHow do you stop a WebBrowser object in WPF? PinmemberXarzu2-Dec-12 3:53 
QuestionFlowDocument - different coloured text in a word PinmemberRugbyLeague30-Nov-12 1:04 
AnswerRe: FlowDocument - different coloured text in a word PinprotectorPete O'Hanlon30-Nov-12 1:33 
GeneralRe: FlowDocument - different coloured text in a word PinmemberRugbyLeague30-Nov-12 1:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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
Web01 | 2.8.140827.1 | Last Updated 29 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid