共用方式為


BindingBase.TargetNullValue Property

Definition

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

public:
 property System::Object ^ TargetNullValue { System::Object ^ get(); void set(System::Object ^ value); };
public object TargetNullValue { get; set; }
member this.TargetNullValue : obj with get, set
Public Property TargetNullValue As Object

Property Value

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

Applies to