windows phone 7 - WP7: how to count children of a list box in datatemplate? -
I have created a pivot control to show all the data from my database using the binding data. And the code for pivot control looks like this and see the UI here:
I want to solve this problem: After I tap on an item in ListBoxed (Pivot control) I'll get the name of the item. Note: There are no names on all the controls (x: name). I am trying to use the tag = "{binding CHUPHONG}" x: for the name. Can you show me the way to solve it? Or where am I wrong? Thanks a lot! item container generator.
& lt; Control: PivotType header = "PHÃ? Ng CHHI I" font seices = "19" margin = "0" background = "{X: null}" & gt; & Lt; List Box X: Name = "List D Song" & gt; & Lt; ListBox.ItemTemplate & gt; & Lt; DataTemplate & gt; & Lt; Toolkit: WrapPanel height = "120" width = "480" margin = "0,10,0,20" & gt; & Lt; Image horizontal alignment = "left" height = "120" vertical alignment = "top" width = "120" source = "/ luon van dimo; component / xephinhlogo.png" /> & Lt; TextBlock margin = "4,44, -98,44" textWeekPing = "wrap" text = "roof" § fengng: "horizontal alignment =" left "/>
Comments
Post a Comment