Hi,
If I have 10 items in my listboxitem, is it possible to get the index # from it?
For example, if I click the last item, the code looks like the following one.
listboxitem[9]: Is it possible for me to add code and get 9 here?
Thanks
Ray
public ArtOfTest.WebAii.Silverlight.UI.ListBoxItem ListboxItem
{
get
{
return Get<ArtOfTest.WebAii.Silverlight.UI.ListBoxItem>("XamlTag=listbox", "automationid=acctTree", "|", "XamlPath=/grid[0]/border[0]/scrollviewer[automationid=ScrollViewer]/border[0]/grid[0]/scrollcontentpresenter[name=ScrollContentPresenter]/itemspresenter[0]/virtualizingstackpanel[0]/listboxitem[9]");
}
}