4.25 Binding

x:Object > x:MarkupExtension > BindingBase > Binding
Binding
(usage)
{Binding } | <Binding />
(description)
Provides high-level access to the definition of a binding, which connects the properties of binding target objects, and any data source (for example, a database, an XML file, or any object that contains data).
[return value type]
x:Object
[constructors]
(1 parameter)
path
x:String
(description)
The initial Path for the binding.
(properties)
AsyncState
x:Object
(description)
Opaque data passed to the asynchronous data dispatcher.
BindsDirectlyToSource
x:Boolean
(description)
A value that indicates whether to evaluate the Path relative to the data item or the DataSourceProvider object.
Converter
IValueConverter
(description)
The converter to use.
ConverterCulture
CultureInfo
(description)
The culture in which to evaluate the converter.
[text syntax]
CultureInfoIetfLanguageTagSyntax
ConverterParameter
x:Object
(description)
The parameter to pass to the Converter.
ElementName
x:String
(description)
The name of the element to use as the binding source object.
IsAsync
x:Boolean
(description)
A value that indicates whether the Binding should get and set values asynchronously.
Mode
BindingMode
(description)
A value that indicates the direction of the data flow in the binding.
NotifyOnSourceUpdated
x:Boolean
(description)
A value that indicates whether to raise the SourceUpdated event when a value is transferred from the binding target to the binding source.
NotifyOnTargetUpdated
x:Boolean
(description)
A value that indicates whether to raise the TargetUpdated event when a value is transferred from the binding source to the binding target.
NotifyOnValidationError
x:Boolean
(description)
A value that indicates whether to raise the Error attached event on the bound object.
Path
PropertyPath
(description)
The path to the binding source property.
RelativeSource
RelativeSource
(description)
The binding source by specifying its location relative to the position of the binding target.
Source
x:Object
(description)
The object to use as the binding source.
UpdateSourceTrigger
UpdateSourceTrigger
(description)
A value that determines the timing of binding source updates.
ValidatesOnDataErrors
x:Boolean
(description)
A value that indicates whether to include the DataErrorValidationRule.
ValidatesOnExceptions
x:Boolean
(description)
A value that indicates whether to include the ExceptionValidationRule.
ValidatesOnNotifyDataErrors (4.5)
x:Boolean
(description)
A value that indicates whether to include the NotifyDataErrorValidationRule.
ValidationRules
Collection(ValidationRule)
(description)
A collection of rules that check the validity of the user input.
[read only]
true
XPath
x:String
(description)
An XPath query that returns the value on the XML binding source to use.
(attachable properties)
Binding.XmlNamespaceManager
XmlNamespaceManager
(description)
The XmlNamespaceManager used to perform namespace-aware XPath queries in XML bindings.
[target type]
DependencyObject
(attachable events)
Binding.SourceUpdated
Occurs when a value is transferred from the binding target to the binding source, but only for bindings with the NotifyOnSourceUpdated value set to true.
Binding.TargetUpdated
Occurs when a value is transferred from the binding source to the binding target, but only for bindings with the NotifyOnTargetUpdated value set to true.