VB.NET可根据已知属性名称(字符串变量),查找对应属性值。DimControlObjectAsObject=PictureBox1ForEachPaddingxAsSystem.Reflection.PropertyInfoInControlObject.GetType().GetProperties()PropertyGrid1.SelectedObject=ControlObjectDimnNameAsString=Paddingx.NameDimControlAsObject=ControlObject.G