我写了一个自定义的DataGrid,在其中定义了属性AutoSizeControl,以及一个方法Autosize。问题:当AutoSizeControl=true;时调用Autosize.请问如何实现?是否必须写成事件?