I need source code for Silverlight Scrolling Gallery.

Asked By 0 points N/A Posted on -
qa-featured

I am not in the mood to go into some hard coding, but I would like to get some source code for Silverlight Scrolling Gallery to use in my application. What I am looking at is a gallery that can contain as many images as possible, have inbuilt pagination and have some elegant transitions. If you can accompany the code with some comments to aid my learning and understanding, I will more than appreciate. Cheers!

SHARE
Answered By 10 points N/A #141926

I need source code for Silverlight Scrolling Gallery.

qa-featured

 

Hello Kendrakellyy,

Using the Microsoft Expression Blend sdk and which has a package known as Microsoft.Expression.Interactivity with the class FluidMoveBehavior you can get what you wanted using the code below.

<ScrollViewer x:Name=”ScrollViewer” BorderBrush=”Transparent” BorderThickness=”0”    Background =”{TemplateBinding Background}” Padding=”{TemplateBinding Padding}”                               TabNavigation=”{TemplateBinding TabNavigation}” Style=”{StaticResource ListBoxScrollviewerStyle}”>

<ItemsPresenter> <i:Interaction.Behaviors><ei:FluidMoveBehaviour x:Name=”FluidMoveBehaviour”/></i:Interaction.Behaviors></ItemsPresenter></ScrollViewer>

That will solve your problem. I would recommend that If for instance you have little grasp of SilverLight it would be nice if you read and explore more tutorials about it. That will make you a star.

 

Related Questions