WPF ListBox Questions and Answers

Recent IT Questions

1 - 1 of 1
<<PREVIOUS 1 NEXT>>

How to Set UI AutomationProperty for a ListItem?

I have a test.xaml - <Grid> <ListBox Name="ListBox1"/> </Grid> And in the test.xaml.cs file, I initiatilize the ListBox for (int i=1; i<=50; i++) { ListBox1.Items.Add("Item" + i); } Now I want to set a HelpText AutomationProperty to each of the ListItems. How do I do it?...

View Answer   |  May 11 2009  12:55 AM GMT
WPF ListBox, UI Automation, ListItem
asked by Tapas79

  5 pts.

1 - 1 of 1
<<PREVIOUS 1 NEXT>>