views:

105

answers:

1

Hi,

Is there an equivalent to the System.ComponentModel.IExtenderProvider geered toward WPF ?

Do I have to go toward Dependency Properties and Attached Properties to build an equivalent, or is there already something baked in the oven waiting for me ?

Thanks,

Patrick

+4  A: 

The Attached Property is the way to go http://msdn.microsoft.com/en-us/library/ms749011.aspx

You can also use AttachedPropertyBrowsableForChildrenAttribute to tell a control to extend the newly created property to all its children (Has Grid's row property)

Jean-Sébastien

Jean-Sébastien Desfossés