[WPF] Creating parameterized styles with attached properties(tomlev2.wordpress.com)

submitted by tom103tom103(161) 7 months, 27 days ago

This article describes a simple technique to create styles that support small variations without duplicating the style.

1 comment |category: |Views: 102

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:

posted by dpetersondpeterson(4397) 7 months, 24 days ago +1

Very nice, bookmarking this for future reference. I wish there was a way to do it without having to involve code, some type of template variables in XAML...but I don't think any such thing exists at this time.

Reply

information Login or create an account to comment on this story