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!

  & 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 "/>  TextBlock margin =" 0,0, "5, -98,0" textorpraction = "wrap" text = "tfnfngi: -98.4 "textwapping =" wrap "text =" SA »?? LOON ° A »pound ng:" height = "32" vertical alignment = "bottom" horizontal alignment = "left" width = "98" /> & lt; text block margin = "102,44, -242,44" text waveping = "Wrap" text = "{binding teahihong}" width = "140" height = "32" horizontal alignment = "left" />  gt; textBlock Margin = "102.0, -134,4" textwapping = "wrap" height = "32" vertical alignment = "bottom" text = "{binding solung}" width = "32" horizontal alignment = "left" /> gt; ; Image horizontal alignment = "left" width = "50" source = "/ Luan Wendimo; Components / Images / Buttons / Lock "margin =" 285,35,0,35 "height =" 50 "/>   <> LT; / ListBox.ItemTemplate & gt; & lt; / ListBox & gt; & lt; / control: PivotItem & gt; & lt; / control: axis & gt;    

item container generator.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

jsp - Google line chart x-axis shrinks on transition -

java - Reaching JTextField in a DocumentListener -