Latest News

  • Super Tower Defense 2 Game
    Sep 03, 2010

    New to the games section is Super Tower Defense 2. Featuring more maps, new units and bigger explosions.

  • Super Cards Online Multiplayer Game
    Aug 13, 2010

    Released today in the games section is the new Super Cards multiplayer card game. The aim of the game is to get rid of all your playing cards before your opposition.

  • Silverlight Online Chat
    Jul 24, 2010

    Today we launch the new Silverlight Live Chat application demonstrating the Liquid RichTextBox and Emoticon replacements.

  • New Super Shoot Em Up 2 Game
    Jun 29, 2010

    Added to the Games section is the new Super Shoot 'Em Up 2 game. Take control of your tank with the aim to defeat the computer controlled opponents. Features all new weapons, levels and Battle Mode!

  • Silverlight 4 Controls V5.3.2 Released
    Jun 28, 2010

    This release contains several fixes raised in the forums.

Ichigeki
Ichigeki
Viewer - ScrollIntoPosition(UIElement) method Posted: May 29, 2010
 

Hi,


I'm currently working on a Organization chart on Silverlight using

the Liquid Viewer control.

What I'd like to do is being able to scroll to

a certain UIElement organigram node position in the Viewer as I click its corresponding node value from a Liquid TreeView.

using ScrollIntoPosition(UIElement) method.

I've searched for coding example using ScrollIntoPosition(UIElement) though

I couldn't find any...

Any short source code reference or example would be very appreciated.


Thank you.

 
 
dan
dan
RE: Viewer - ScrollIntoPosition(UIElement) method Posted: May 30, 2010
 

Hi,


Yes to use this method you simply provide an instance reference to any UIElement inside the Viewer.  The Viewer will then move the scroll position to ensure the element is in view.  Whilst testing this myself it you need to ensure your element has its Width/Height properties set and also it doesn't take into account the current zoom level so may not work if your Zoom property is anything other than 1.


These two bugs will be fixed in the next version.


Thanks!