BindingBase BindingBase BindingBase BindingBase Class


定義 BindingPriorityBindingMultiBinding 類別的通用特性。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)]
public abstract class BindingBase : System.Windows.Markup.MarkupExtension
type BindingBase = class
    inherit MarkupExtension
Public MustInherit Class BindingBase
Inherits MarkupExtension


因為方法是密封的, 所以BindingBase衍生自的自訂系結類別將Extensible Application Markup Language (XAML)Extensible Application Markup Language (XAML)無法正常運作, 做為標記延伸。 BindingBase.ProvideValueBecause 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)Extensible Application Markup Language (XAML) markup extension.


BindingGroupName BindingGroupName BindingGroupName BindingGroupName

取得或設定這個繫結所屬之 BindingGroup 的名稱。Gets or sets the name of the BindingGroup to which this binding belongs.

Delay Delay Delay 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 FallbackValue FallbackValue FallbackValue

取得或設定當繫結無法傳回值時要用的值。Gets or sets the value to use when the binding is unable to return a value.

StringFormat StringFormat StringFormat StringFormat

取得或設定字串,這個字串指定繫結在其繫結值顯示成字串時的格式化方式。Gets or sets a string that specifies how to format the binding if it displays the bound value as a string.

TargetNullValue TargetNullValue TargetNullValue TargetNullValue

取得或設定當來源值為 null 時目標中所使用的值。Gets or sets the value that is used in the target when the value of the source is null.


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ProvideValue(IServiceProvider) ProvideValue(IServiceProvider) ProvideValue(IServiceProvider) ProvideValue(IServiceProvider)

傳回物件,這個物件應該設定於套用這個繫結和延伸的屬性上。Returns an object that should be set on the property where this binding and extension are applied.

ShouldSerializeFallbackValue() ShouldSerializeFallbackValue() ShouldSerializeFallbackValue() ShouldSerializeFallbackValue()

傳回值,表示在這個類別的執行個體上,序列化處理序是否應該將 FallbackValue 屬性的有效值序列化。Returns a value that indicates whether serialization processes should serialize the effective value of the FallbackValue property on instances of this class.

ShouldSerializeTargetNullValue() ShouldSerializeTargetNullValue() ShouldSerializeTargetNullValue() ShouldSerializeTargetNullValue()

傳回值,這個值表示是否應該序列化此 TargetNullValue 屬性。Returns a value that indicates whether the TargetNullValue property should be serialized.

ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)