简体   繁体   中英

C# User Control custom Properties

I am creating a user control and would like to create a custom menu like this http://i56.tinypic.com/5ycaqb.png but I do not know what to do, can you help me? (Sorry for my bad English)

You want to look into DesignerActionList .

Specifically in your ControlDesigner (or the one that you have that extends from it), you'll need to override

public virtual DesignerActionListCollection ActionLists { get; }

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM