Custom User Control and Friendly Property Item Collection (Like ListBox and ListItems, but with List) on .ASPX

前端 未结 3 1626
野的像风
野的像风 2021-01-19 11:46

I have been wondering a long time how to do a public property for a User Control that work\'s like .NET native Item\'s collection Property (for Example, ListBox and ListItem

3条回答
  •  感情败类
    2021-01-19 12:47

    You need to decorate the control and it's properties with sufficient information that the designer can pick up on details at design time. Have you checked this link?

提交回复
热议问题