Online Support System

Have a Question? Contact Us

Direct:
614-827-0499

Knowledge Base

Knowledge Base / Slide UI Mobile Controls / Technical Questions

Scroll UICanvas with Code

06/29/2010 02:11 PM

Question

How can I scroll UICanvas programmatically?

Answer

You should use 'childs.Top' variable member of the UICanvas control to scroll it programmatically. For example, if you would like to scroll a child control of UICanvas 100 pixels down programmatically you should do this:

UICanvas.childs.Top = -100;

Article Rating

The current rating for this article is Excellent (90%). The rating is based on 3 vote(s).