Bagikan melalui


BindingBase Class

Definition

An abstract class that provides a BindingMode and a formatting option.

public ref class BindingBase abstract
public abstract class BindingBase
type BindingBase = class
Public MustInherit Class BindingBase
Inheritance
BindingBase
Derived

Properties

FallbackValue

Gets or sets the value to use instead of the default value for the property, if no specified value exists.

Mode

Gets or sets the mode for this binding.

StringFormat

Gets or sets the string format for this binding.

TargetNullValue

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

Methods

Create<TSource,TProperty>(Func<TSource,TProperty>, BindingMode, IValueConverter, Object, String, Object, Object, Object)

This factory method was added to simplify creating TypedBindingBase instances from lambda getters.

DisableCollectionSynchronization(IEnumerable)

Stops synchronization on the collection.

EnableCollectionSynchronization(IEnumerable, Object, CollectionSynchronizationCallback)

Starts synchronization on the collection by using callback and context.

ThrowIfApplied()

Applies to