OnRebind Method

Called by the Choices engine when it has calculated the complete list of choices available to the design-time control.

Syntax

OnRebind(ByVal Choices as Choices)

Parameters

Choices

The collection of Choice objects currently available to the control.

Remarks

Use this method to get a list of all available choices. Your design-time control can do any processing it wants on this list. For example, your control might call the Filter method on the collection to select only the choices that match a given type.

Use this method to establish communication with other controls of a specific kind. Each participating control might publish a choice with a well-known type with a tag containing a pointer to that control. By filtering the Choices collection passed to this method, a control could get pointers to all other participating controls.

Applies to   IDesignTimeControl interface