1.将GridControl和GridView设置为Public 或 Protected
2.点击开始菜单,进入DevExpress-Components-Tools,打开DXDesignKeys,勾选 "Enable visual inheritance for Developer......."这个选项
完成