判断控件是否存在某属性问一下,判断控件是否存在某属性?[解决办法]如下: Type type=this.GetType(); PropertyInfo per = type.GetProperty( "Name "); if (per!=null) { }