savio_leitao
13 years agoOccasional Contributor
FindChild is taking time to get the results
"A tip to add then is also to make sure that you supply enough properties and values to NameMapping or FindChild to be able to pick out the specific object you want out of all the
objects in the tree, especially if there are several that are similar."
Hi
Is there any other alternative to make this faster,
I am working of a wpfpivotgrid and trying to find out ScrollableAreaCell based on
ValueItem.RowIndex and ValueItem.ColumnIndex
var cell = NavFind.FindChild(this.pivotGridControl, new Property[] {
new Property(Prop.ClrFullClassName, FullClass.ScrollableAreaCell),
new Property("ValueItem.RowIndex","0"),
new Property("ValueItem.ColumnIndex","0"),
new Property(Prop.IsVisible,true.ToString())});
Its taking about 5 seconds to come up with a result
any pointers?