BindingBase 類別
定義
定義 Binding、PriorityBinding 和 MultiBinding 類別的通用特性。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
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 |
取得或設定這個繫結所屬之 BindingGroup 的名稱。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 |
取得或設定當來源值為 |
方法
Equals(Object) |
判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object. (繼承來源 Object) |
GetHashCode() |
作為預設雜湊函數。Serves as the default hash function. (繼承來源 Object) |
GetType() |
取得目前執行個體的 Type。Gets the Type of the current instance. (繼承來源 Object) |
MemberwiseClone() |
建立目前 Object 的淺層複製。Creates a shallow copy of the current Object. (繼承來源 Object) |
ProvideValue(IServiceProvider) |
傳回物件,這個物件應該設定於套用這個繫結和延伸的屬性上。Returns an object that should be set on the property where this binding and extension are applied. |
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() |
傳回值,這個值表示是否應該序列化此 TargetNullValue 屬性。Returns a value that indicates whether the TargetNullValue property should be serialized. |
ToString() |
傳回代表目前物件的字串。Returns a string that represents the current object. (繼承來源 Object) |