共用方式為


BindingBase.TargetNullValue Property

Definition

Gets or sets the value to supply for a bound property when the target of the binding is null.

public object TargetNullValue { get; set; }
member this.TargetNullValue : obj with get, set

Property Value

System.Object

The value to supply for a bound property when the target of the binding is null.

Applies to