Accidental Singletons in Collection-Type Dependency Property(blogs.riskotech.com)

submitted by riskfactorriskfactor(35) 3 years, 2 months ago

Dependency Properties are a unique and powerful feature of WPF/Silverlight though they are normally transparent to you and you will, for the most part, not worry about them. However, there are times when creating a Custom Dependency property will be the precise solution to your problem. Sometimes you will need to create a dependency property that is a collection-type. Now there is a very important point that you need to watch when creating a dependency property of this type, and that is the unintended creation of a singleton value.

add a comment |category: |Views: 28

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