BindingExpression.UpdateSource 方法

定義

將目前的繫結目標值傳送至 TwoWayOneWayToSource 繫結的繫結來源屬性。

public:
 override void UpdateSource();
public override void UpdateSource ();
override this.UpdateSource : unit -> unit
Public Overrides Sub UpdateSource ()

例外狀況

繫結已與目標中斷連結。

備註

當系結的 不是 或 OneWayToSourceMode ,這個方法不會 TwoWay 執行任何動作。

如果系 UpdateSourceTrigger 結的值設定 Explicit 為 ,您必須呼叫 UpdateSource 方法,否則變更不會傳播回來源。

適用於

另請參閱