Silverlight VisualBrush and rounded corners (chriscavanagh.wordpress.com)

submitted by BobStroggBobStrogg(840) 4 months, 15 days ago

As you know Silverlight 3 doesn’t support VisualBrush, which can make things like this pretty tricky. Here’s my attempt at a workaround It’s a control called VisualImage which can be pointed at any element and exposes it as a WriteableBitmap. You could bind an Image to this to create a reflection effect, or use it to apply clipped, rounded corners to anything!

add a comment | category: | Views: 23

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