Uredi

Deli z drugimi prek


BindingBase Class

Definition

Defines the common characteristics of the Binding, PriorityBinding, and MultiBinding classes.

public ref class BindingBase abstract : System::Windows::Markup::MarkupExtension
[System.Windows.Localizability(System.Windows.LocalizationCategory.None, Modifiability=System.Windows.Modifiability.Unmodifiable, Readability=System.Windows.Readability.Unreadable)]
[System.Windows.Markup.MarkupExtensionReturnType(typeof(System.Object))]
public abstract class BindingBase : System.Windows.Markup.MarkupExtension
[<System.Windows.Localizability(System.Windows.LocalizationCategory.None, Modifiability=System.Windows.Modifiability.Unmodifiable, Readability=System.Windows.Readability.Unreadable)>]
[<System.Windows.Markup.MarkupExtensionReturnType(typeof(System.Object))>]
type BindingBase = class
    inherit MarkupExtension
Public MustInherit Class BindingBase
Inherits MarkupExtension
Inheritance
BindingBase
Derived
Attributes

Remarks

Because the BindingBase.ProvideValue method is sealed, a custom binding class that derives from BindingBase will not function correctly as a Extensible Application Markup Language (XAML) markup extension.

Properties

BindingGroupName

Gets or sets the name of the BindingGroup to which this binding belongs.

Delay

Gets or sets the amount of time, in milliseconds, to wait before updating the binding source after the value on the target changes.

FallbackValue

Gets or sets the value to use when the binding is unable to return a value.

StringFormat

Gets or sets a string that specifies how to format the binding if it displays the bound value as a string.

TargetNullValue

Gets or sets the value that is used in the target when the value of the source is null.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ProvideValue(IServiceProvider)

Returns an object that should be set on the property where this binding and extension are applied.

ShouldSerializeFallbackValue()

Returns a value that indicates whether serialization processes should serialize the effective value of the FallbackValue property on instances of this class.

ShouldSerializeTargetNullValue()

Returns a value that indicates whether the TargetNullValue property should be serialized.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to