共用方式為


TextBox.OnPropertyChanged(DependencyPropertyChangedEventArgs) 方法

定義

當元素有一或多個相依性屬性變更了有效值時呼叫。

protected:
 override void OnPropertyChanged(System::Windows::DependencyPropertyChangedEventArgs e);
protected override void OnPropertyChanged (System.Windows.DependencyPropertyChangedEventArgs e);
override this.OnPropertyChanged : System.Windows.DependencyPropertyChangedEventArgs -> unit
Protected Overrides Sub OnPropertyChanged (e As DependencyPropertyChangedEventArgs)

參數

e
DependencyPropertyChangedEventArgs

相關聯事件的引數。

備註

這個方法會覆寫 FrameworkElement.OnPropertyChanged

適用於

另請參閱