I have an extender (IExtenderProvider) which extends certain types of
controls with additional properties. For one of these properties, I have
written a UITypeEditor. So far, all works just fine.
The extender also has a couple of properties itself, which I am trying to
use as a sort of default for the UITypeEditor. What I want to do ...
I'm trying to extend the controls TextBox, ComboBox and Panel with an IExtenderProvider but I can not get it to work properly. I start to believe that I haven't understand the concept fully.
Does anybody know any good resources on the web (with examples) for the IExtenderProvider?
...
Hi All,
I have created a IExtenderProvider (Extender) for Controls.using Extender ,I am Iterating the collection of controls and validate it.It works fine.but, some time while changing some designs,or when designer refreshed (while removing some events from code), the properties that provided by Extender (Validation Order and Group,in m...
If I have a class that implements ICustomTypeDescriptor I can override the GetProperties() method to completely replace all the properties of the class with my custom PropertyDescriptors.
But what if i want to keep the existing properties of the class and append additional properties to the class? Is there a way to return a set of cust...
I'm trying to set other properties based on setting "master" property but it won't work.
Nothing is written in Designer.cs file except "master" property.
idea:
[ProvideProperty("SaveUserSettings", typeof(Component))]
[ProvideProperty("SaveLayoutGroupSettings",typeof(Form))]
public class UserSettingsExtender : Component, IExtenderProvid...
I created a .NET class derived from Component and implementing IExtenderProvider. I placed this provider on a Form. However, neither the site or the container is ever initialized. They are always null, whether in design mode or at runtime.
Is there a way to determine the Form that contains the provider object? This seems so obvious,...