control-library

How do you enforce licensing on a redistributable control library?

If you have a WPF control library which you wanted to license to developers, how do enforce license restrictions such that the library could be used and distributed in their own applications and yet prevent the end-users from reusing that .dll? I'm approaching this from a strict business perspective, so I'm trying to find a solution tha...

Silverlight 2.0: Determine if a dependency property is set before changing it.

I have a dependency property (Foreground) on a custom control which is inheriting from Control. When I am loading the control, I want to see if the user has set the dependency property or if it is using its default value before I set the value for them. The problem is a bit more complicated then that, here it is: The control is in a ...

Double buffer common controls

Hello :) Is there a way to double-buffer the common controls? Currently when they resize they flicker. A lot..... EDIT: If it helps, it is a bunch of button controls and a few edit controls, all sitting on top of a tab control. The Tab control redraws itself, then the buttons redraw themselves. When the buttons redraw, they flicker. E...

Control Library Issue: Failed to create a 'System.Type' from the text 'local:SolidGloss'

I'm working on a library of custom controls and I'm stuck on this error. Can anyone tell me what I'm missing? SolidGloss.cs: using System; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Anim...