ComboBoxItem.OnContentChanged(Object, Object) 方法

定义

Content 属性更改时调用。

protected:
 override void OnContentChanged(System::Object ^ oldContent, System::Object ^ newContent);
protected override void OnContentChanged (object oldContent, object newContent);
override this.OnContentChanged : obj * obj -> unit
Protected Overrides Sub OnContentChanged (oldContent As Object, newContent As Object)

参数

oldContent
Object

旧内容。

newContent
Object

新内容。

适用于