Click here to Skip to main content
15,898,892 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: TreeViewItem Binding Doubt Pin
SledgeHammer016-Jan-11 8:14
SledgeHammer016-Jan-11 8:14 
GeneralRe: TreeViewItem Binding Doubt Pin
AmitDey7-Jan-11 6:17
AmitDey7-Jan-11 6:17 
GeneralRe: TreeViewItem Binding Doubt Pin
SledgeHammer017-Jan-11 7:55
SledgeHammer017-Jan-11 7:55 
AnswerRe: TreeViewItem Binding Doubt Pin
Ian Shlasko7-Jan-11 9:03
Ian Shlasko7-Jan-11 9:03 
Questionsilverlight 4- which rows are updated with checkbox. [modified] Pin
arkiboys5-Jan-11 22:59
arkiboys5-Jan-11 22:59 
AnswerRe: silverlight 4- which rows are updated with checkbox. Pin
Pete O'Hanlon5-Jan-11 23:38
mvePete O'Hanlon5-Jan-11 23:38 
GeneralRe: silverlight 4- which rows are updated with checkbox. Pin
arkiboys5-Jan-11 23:43
arkiboys5-Jan-11 23:43 
QuestionParent, Child & GrandChild binding in WPF & Silverlight Pin
Chazzysb5-Jan-11 4:33
Chazzysb5-Jan-11 4:33 
Hi,

I have an object that is a collection of orders objects, each order object has a collection of OrderItems, each OrderItem has a collection of ItemDetail objects.
Im displaying all this data in 3 list boxes and the current selected value in any list box is displayed in a textbox.
I set the DataContext of my grid to the object. - All data is displayed as expected in WPF but when I try something similar in Silverlight it doesnt show any data beyond the parent...

Here is the xaml:
<ListBox Grid.Column="0" Name="lstOrders" DisplayMemberPath="OrderName" ItemsSource="{Binding}" IsSynchronizedWithCurrentItem="True" />
<ListBox Grid.Column="1" Name="lstOrderItems" DisplayMemberPath="Product" ItemsSource="{Binding Path=OrderItems}" IsSynchronizedWithCurrentItem="True" />
<ListBox Grid.Column="2" Name="lstItemDetails" DisplayMemberPath="Details" ItemsSource="{Binding Path=OrderItems/ItemDetails}" IsSynchronizedWithCurrentItem="True" />

<TextBox Grid.Column="0" Grid.Row="1" x:Name="txtOrderName" Text="{Binding Path=OrderName}" />
<TextBox Grid.Column="1" Grid.Row="1" x:Name="txtProduct" Text="{Binding Path=OrderItems/Product}" />
<TextBox Grid.Column="2" Grid.Row="1" x:Name="txtDetail" Text="{Binding Path=OrderItems/ItemDetails/Details}" />

Any ideas what the Bindings should be for this to work in Silverlight?
AnswerRe: Parent, Child & GrandChild binding in WPF & Silverlight Pin
Abhinav S6-Jan-11 1:08
Abhinav S6-Jan-11 1:08 
GeneralRe: Parent, Child & GrandChild binding in WPF & Silverlight Pin
Chazzysb6-Jan-11 3:55
Chazzysb6-Jan-11 3:55 
QuestionHow can I create layout in the following way? Pin
Pankaj Nikam4-Jan-11 23:36
professionalPankaj Nikam4-Jan-11 23:36 
AnswerRe: How can I create layout in the following way? Pin
#realJSOP6-Jan-11 2:16
professional#realJSOP6-Jan-11 2:16 
GeneralRe: How can I create layout in the following way? Pin
mbcrump12-Jan-11 4:34
mentormbcrump12-Jan-11 4:34 
QuestionValidation for Duplication of Data by using Identifier name Pin
Rocky234-Jan-11 22:42
Rocky234-Jan-11 22:42 
AnswerRe: Validation for Duplication of Data by using Identifier name Pin
Pete O'Hanlon4-Jan-11 23:34
mvePete O'Hanlon4-Jan-11 23:34 
GeneralRe: Validation for Duplication of Data by using Identifier name Pin
Rocky234-Jan-11 23:49
Rocky234-Jan-11 23:49 
GeneralRe: Validation for Duplication of Data by using Identifier name Pin
Pete O'Hanlon5-Jan-11 0:41
mvePete O'Hanlon5-Jan-11 0:41 
Questionhow to export the WindowsFormsHost content in to pdf formate Pin
Member 41595674-Jan-11 20:18
Member 41595674-Jan-11 20:18 
Questionhow to generate tree view in MVVM- silverlight Pin
silverlightnewbee4-Jan-11 17:51
silverlightnewbee4-Jan-11 17:51 
AnswerRe: how to generate tree view in MVVM- silverlight Pin
Abhinav S4-Jan-11 18:30
Abhinav S4-Jan-11 18:30 
QuestionWCF Service and event [modified] Pin
CrafterIt4-Jan-11 0:03
CrafterIt4-Jan-11 0:03 
AnswerRe: WCF Service and event Pin
Abhinav S4-Jan-11 0:30
Abhinav S4-Jan-11 0:30 
GeneralRe: WCF Service and event Pin
CrafterIt4-Jan-11 2:09
CrafterIt4-Jan-11 2:09 
AnswerRe: WCF Service and event Pin
Abhinav S4-Jan-11 18:33
Abhinav S4-Jan-11 18:33 
GeneralRe: WCF Service and event Pin
CrafterIt4-Jan-11 20:39
CrafterIt4-Jan-11 20:39 

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.