Silverlight Center And Scale Behavior(geekswithblogs.net)

submitted by dzakdzak(210) 2 years ago

If you are interested in my last post about "How to center and scale Silverlight applications using ViewBox control", I just published behavior that you can use instead of making changes in code. How it works? 1. Download behavior (http://gallery.expression.microsoft.com/en-us/CenterAndScale ) 2. Add dll to your application <UserControl ..... xmlns:interaction="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" xmlns:behavior="clr-namespace:CenterAncScaleBehavior;assembly=CenterAncScaleBehavior" .... > <interaction:Interaction.Behaviors> <behavior:CenterAncScaleBehavior /> </interaction:Interaction.Behaviors> <Grid > ... </Grid> </UserControl> 3. DONE! Your application is ready!

add a comment |category: |Views: 11

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story