BindingBase Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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 |
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈