Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
Binding Class
 Binding Members
Collapse All/Expand All Collapse All
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
Binding Members

Provides high-level access to the definition of a binding, which connects the properties of binding target objects (typically, WPF elements), and any data source (for example, a database, an XML file, or any object that contains data).

The Binding type exposes the following members.

  NameDescription
Public methodBindingOverloaded. Initializes a new instance of the Binding class.
Top
  NameDescription
Public methodStatic memberAddSourceUpdatedHandlerAdds a handler for the SourceUpdated attached event.
Public methodStatic memberAddTargetUpdatedHandlerAdds a handler for the TargetUpdated attached event.
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberGetXmlNamespaceManagerReturns an XML namespace manager object used by the binding attached to the specified object.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodProvideValueReturns an object that should be set on the property where this binding and extension are applied. (Inherited from BindingBase.)
Public methodStatic memberRemoveSourceUpdatedHandlerRemoves a handler for the SourceUpdated attached event.
Public methodStatic memberRemoveTargetUpdatedHandlerRemoves a handler for the TargetUpdated attached event.
Public methodStatic memberSetXmlNamespaceManagerSets a namespace manager object used by the binding attached to the provided element.
Public methodShouldSerializeFallbackValueReturns a value that indicates whether serialization processes should serialize the effective value of the FallbackValue property on instances of this class. (Inherited from BindingBase.)
Public methodShouldSerializePathIndicates whether the Path property should be persisted.
Public methodShouldSerializeSourceIndicates whether the Source property should be persisted.
Public methodShouldSerializeTargetNullValueReturns a value that indicates whether the TargetNullValue property should be serialized. (Inherited from BindingBase.)
Public methodShouldSerializeValidationRulesIndicates whether the ValidationRules property should be persisted.
Public methodToStringReturns a String that represents the current Object. (Inherited from Object.)
Top
  NameDescription
Public fieldStatic memberDoNothingUsed as a returned value to instruct the binding engine not to perform any action.
Public fieldStatic memberIndexerNameUsed as the PropertyName of System.ComponentModel..::.PropertyChangedEventArgs to indicate that an indexer property has changed.
Public fieldStatic memberSourceUpdatedEventIdentifies the SourceUpdated attached event.
Public fieldStatic memberTargetUpdatedEventIdentifies the TargetUpdated attached event.
Public fieldStatic memberXmlNamespaceManagerPropertyIdentifies the XmlNamespaceManager attached property.
Top
  NameDescription
Public propertyAsyncStateInfrastructure. Gets or sets opaque data passed to the asynchronous data dispatcher.
Public propertyBindingGroupNameGets or sets the name of the BindingGroup to which this binding belongs. (Inherited from BindingBase.)
Public propertyBindsDirectlyToSourceGets or sets a value that indicates whether to evaluate the Path relative to the data item or the DataSourceProvider object.
Public propertyConverterGets or sets the converter to use.
Public propertyConverterCultureGets or sets the culture in which to evaluate the converter.
Public propertyConverterParameterGets or sets the parameter to pass to the Converter.
Public propertyElementNameGets or sets the name of the element to use as the binding source object.
Public propertyFallbackValueGets or sets the value to use when the binding is unable to return a value. (Inherited from BindingBase.)
Public propertyIsAsyncGets or sets a value that indicates whether the Binding should get and set values asynchronously.
Public propertyModeGets or sets a value that indicates the direction of the data flow in the binding.
Public propertyNotifyOnSourceUpdatedGets or sets a value that indicates whether to raise the SourceUpdated event when a value is transferred from the binding target to the binding source.
Public propertyNotifyOnTargetUpdatedGets or sets a value that indicates whether to raise the TargetUpdated event when a value is transferred from the binding source to the binding target.
Public propertyNotifyOnValidationErrorGets or sets a value that indicates whether to raise the Error attached event on the bound object.
Public propertyPathGets or sets the path to the binding source property.
Public propertyRelativeSourceGets or sets the binding source by specifying its location relative to the position of the binding target.
Public propertySourceGets or sets the object to use as the binding source.
Public propertyStringFormatGets or sets a string that specifies how to format the binding if it displays the bound value as a string. (Inherited from BindingBase.)
Public propertyTargetNullValueGets or sets the value that is used in the target when the value of the source is nullNothingnullptra null reference (Nothing in Visual Basic). (Inherited from BindingBase.)
Public propertyUpdateSourceExceptionFilterGets or sets a handler you can use to provide custom logic for handling exceptions that the binding engine encounters during the update of the binding source value. This is only applicable if you have associated an ExceptionValidationRule with your binding.
Public propertyUpdateSourceTriggerGets or sets a value that determines the timing of binding source updates.
Public propertyValidatesOnDataErrorsGets or sets a value that indicates whether to include the DataErrorValidationRule.
Public propertyValidatesOnExceptionsGets or sets a value that indicates whether to include the ExceptionValidationRule.
Public propertyValidationRulesGets a collection of rules that check the validity of the user input.
Public propertyXPathGets or sets an XPath query that returns the value on the XML binding source to use.
Top
  NameDescription
Public attached propertyXmlNamespaceManagerGets or sets the XmlNamespaceManager used to perform namespace-aware XPath queries in XML bindings.
Top
  NameDescription
Public attached eventSourceUpdatedOccurs when a value is transferred from the binding target to the binding source, but only for bindings with the NotifyOnSourceUpdated value set to true.
Public attached eventTargetUpdatedOccurs when a value is transferred from the binding source to the binding target, but only for bindings with the NotifyOnTargetUpdated value set to true.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker