为什么 Intellisense 不建议 NumericUpDown 的文本 属性?

Why the NumericUpDown's Text property is not suggested by Intellisense?

我注意到 all Controls have a Text property。但是,Intellisense 不建议将其用于 NumericUpDown 个对象。当手动记下它时,它确实有效并且 returns NumericUpDown 的值作为字符串。这是为什么?

docs显示属性定义为:

[BrowsableAttribute(false)]
[BindableAttribute(false)]
public override string Text { get; set; }

BrowsableAttribute(false) 位(或更可能是 EditorBrowsableAttribute)是 'hides' 来自 Intellisense 的。

为什么要隐藏它?

This API supports the product infrastructure and is not intended to be used directly from your code.