Binding.DoNothing Field

Definition

Used as a returned value to instruct the binding engine to not perform any action.

C#
public static readonly object DoNothing;

Field Value

Remarks

A binding source property or a converter can return Binding.DoNothing to instruct the binding engine to not perform any action. For example, return this field to instruct the binding engine to not transfer a value to the binding target, not move to the next Binding in a PriorityBinding, or not use the FallBackValue or default value.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9