为什么我不能从 GridViewRowPresenterBase 派生?
public class GridViewRowPresenterEx : GridViewRowPresenterBase
{
protected override void OnColumnPropertyChanged(GridViewColumn c, string s)
{
}
}
我收到以下编译错误:
'GridViewRowPresenterEx' 没有实现继承的抽象成员 System.Windows.Controls.Primitives.GridViewRowPresenterBase.OnColumnPropertyChanged(System.Windows.Controls.GridViewColumn, string)'
'GridViewRowPresenterEx.OnColumnPropertyChanged(System.Windows.Controls.GridViewColumn, string)':找不到合适的方法来覆盖