Click here to Skip to main content
Sign Up to vote bad
good
See more: C#3.0
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
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public SomeDelegate Matching Function{get;set;}
Posted 17 Nov '12 - 3:38
Edited 17 Nov '12 - 3:51

Comments
Sergey Alexandrovich Kryukov - 17 Nov '12 - 22:13
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)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 8,376
1 OriginalGriff 6,571
2 CPallini 3,533
3 Rohan Leuva 2,703
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 17 Nov 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid