Hello Ryan,
It is possible to declare a RadProperty of a RadObject, for example
MyCustomRadItem, and to "attach" it to other RadItems, i.e. to define a value for that property that corresponds to specific RadItem.
This would be similar to using the internal property values hash-table of each
RadItem to store values for properties that do not belong to this
item. But you can actually implement this functionality very easily
by declaring a static dictionary to store values corresponding to
different controls. A property of component simply does not make sense
without the underlying logic for the control's behavior according to the
value of that property. And you would not be able to modify the control's
logic with RadProperties, except by inheriting (or extending) the
control.
Though, I believe, using attached RadProperties is not actually the best approach to achieve what you need.
There is a special feature in Windows Forms designed for your case, which I think
you should consider:
Extender Providers. This feature can help you extend the
properties of any components in VS designer, and access the values
defined for these properties. This is the same functionality used for
toolbox components like ErrorProviders, ToolTips and other. If you are
not familiar with this approach, please review the following MSDN
article:
http://msdn.microsoft.com/en-us/library/d6c1xa43.aspx
All the best,
Mike
the Telerik team
Check out
Telerik Trainer, the state of the art learning tool for Telerik products.