When do we need to use [Browsable(true)]?

前端 未结 9 1150
清歌不尽
清歌不尽 2021-01-01 13:06

When do we need to use [Browsable(true)]?

EDIT (by SLaks): He\'s asking (I assume) why one would need to pass true as the

9条回答
  •  梦毁少年i
    2021-01-01 13:32

    According to the documentation you want it to be true when it should be displayed in the property window in VS. Basically it applies to classes that are used in the designer.

提交回复
热议问题