问题很简单(我希望这有一个简单的解决方案!):我想隐藏(Browsable(false))属性"Element"(在我的PropertyGrid对象中),当它为零时.
public class Question { ... public int Element { get; set; } }
.net c# propertygrid properties
.net ×1
c# ×1
properties ×1
propertygrid ×1