Idealism is what precedes experience; cynicism is what follows...

Sunday, May 11, 2008

Silverlight 2 : Attached Properties

Attached Properties are an effective and quite neat way obtaining flexibility without sacrificing any means on encapsulation. Attached Properties are the ability for a nested control in a layout control to use the layout control's property from within a control, this is referred to as an Attached Property. For example, the Button object might use the Attached Property Canvas.Left to position itself with respect to the left border of a surrounding canvas.

No comments:

My Network