Element property null after GetTopMostElementLocation()

SvLite Effects is a Silverlight effects library for creating complex animations, e.g. carousel.

Element property null after GetTopMostElementLocation()

Postby familyware on Sun Oct 18, 2009 9:36 pm

I'm testing the Carousel control, and I need to work with the top element after the animation. However, when I get the top element in the AfterMotion event, the Element property is null. I've added a button on my form to call the AfterMotion method (without performing the animation), and the element property has a value as expected. So the problem isn't the call to GetTopMostElementLocation(), but seems to be the timing and the state of the control.

Also, I need to be able to know when I've cycled through all of the items, so I can selectively cycle through a subset of the items a second time. How can I check to see when I have cycled through all items the first time (outside of maintaining an external counter)? I cycle through the items in one direction only.

Finally, do you have any additional reference materials? Help is missing descriptions and uses for many properties and methods.

Thanks.

private void uxPanel_AfterMotion(object sender, MoveEventArgs e)
{
ElementLocation elem = uxPanel.GetTopMostElementLocation();
EquationFormGeneral frm = (EquationFormGeneral)elem.Element.DataContext;
}
familyware
 
Posts: 3
Joined: Sun Oct 18, 2009 9:19 pm

Re: Element property null after GetTopMostElementLocation()

Postby familyware on Tue Oct 20, 2009 4:12 pm

Can someone please respond to my question? I want to buy your control, but I can't if it doesn't work correctly, or if you can't support it in a timely manner.
familyware
 
Posts: 3
Joined: Sun Oct 18, 2009 9:19 pm

Re: Element property null after GetTopMostElementLocation()

Postby Cellbi on Mon Oct 26, 2009 7:23 pm

Sorry for the delay in reply.
It appears to be a bug in the current product version.
We'll work on fixing this for the next update.
Thanks,
Tech Support
Cellbi Software
Cellbi
Support
 
Posts: 70
Joined: Sat Mar 15, 2008 8:41 am
Location: Cellbi Software

Re: Element property null after GetTopMostElementLocation()

Postby familyware on Mon Oct 26, 2009 7:57 pm

Thanks, that helps. How will I know when you've updated your code?
jrw

Cellbi wrote:Sorry for the delay in reply.
It appears to be a bug in the current product version.
We'll work on fixing this for the next update.
familyware
 
Posts: 3
Joined: Sun Oct 18, 2009 9:19 pm

Re: Element property null after GetTopMostElementLocation()

Postby Cellbi on Wed Oct 28, 2009 7:24 pm

We announce new updates via this forum or rss feed.
I can send you email notification once the fix is ready.
Thanks,
Tech Support
Cellbi Software
Cellbi
Support
 
Posts: 70
Joined: Sat Mar 15, 2008 8:41 am
Location: Cellbi Software


Return to SvLite Effects

Who is online

Users browsing this forum: No registered users and 1 guest

cron