Click here to Skip to main content
15,884,986 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi there

I have a public property that is a delegate to a function.

I want the C# designer to have a drop down box to select a function that matches the delegate.

The following doesn't seem to work
C#
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public SomeDelegate Matching Function{get;set;}
Posted
Updated 17-Nov-12 3:51am
v2
Comments
Sergey Alexandrovich Kryukov 17-Nov-12 22:13pm    
Usually, instead of public even property, a public/internal even is used. Why would you need non-event delegate?
From you "code", even the idea is not clear. What are you trying to achieve?
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900