BindingExpression.UpdateSource 方法

定义

将当前绑定目标值发送到绑定中的 TwoWay 绑定源属性或 OneWayToSource 绑定。

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

例外

绑定已与其目标分离。

注解

此方法Mode在绑定不是或 OneWayToSourceTwoWay

UpdateSourceTrigger如果绑定的值设置为Explicit,则必须调用UpdateSource该方法,否则更改不会传播回源。

适用于

另请参阅