System.Drawing.Design.IPropertyValueUIService.AddPropertyValueUIHandler Method

Adds the specified System.Drawing.Design.PropertyValueUIHandler to this service.

Syntax

public void AddPropertyValueUIHandler (PropertyValueUIHandler newHandler)

Parameters

newHandler
The property value UI handler to add.

Remarks

When IPropertyValueUIService.GetPropertyUIValueItems(System.ComponentModel.ITypeDescriptorContext, System.ComponentModel.PropertyDescriptor) is called, each handler added to this service is called and given the opportunity to add an icon for the property.

Requirements

Namespace: System.Drawing.Design
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0