GetValue需要一个索引对象参数,因为属性可被索引(例如,当我试图获取Listbox控件的Items属性时)。
GetValue requires an indexed object argument because properties can be indexed (for example if I was trying to get an Items property of a listbox control).
只有父控件和样式是在构造函数中设置的,其他所有属性都是在已创建的对象上设置的。
Only the parent and style are set in the constructor; all other properties are set on the created object.
您当然会需要一种识别 GUI 控件并以面向对象方式显露出其属性的技术。
You would of course need a technology that recognizes GUI controls and exposes their properties in an object-oriented fashion.
应用推荐