What benefit does the ImmutableObject attribute provide?

前端 未结 1 1451
野趣味
野趣味 2020-12-21 02:42

I was testing the ImmutableObjectAttribute attribute just for curiosity to see if I could gain some beneffits applying it, or if it was just for semantic decora

相关标签:
1条回答
  • 2020-12-21 03:09

    From the ImmutableObjectAttribute Class documentation:

    This attribute is typically used in the Properties window to determine whether to render an expandable object as read-only. As such, this property is used only at design time.

    ... so yes, this is only for decoration.

    0 讨论(0)
提交回复
热议问题