BindableInstanceDependencyProperty Class
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Defines an InstanceDependencyProperty that supports ActivityBind (see System.Workflow.ComponentModel.ActivityBind).
Namespace: Microsoft.SpeechServer.Dialog
Assembly: Microsoft.SpeechServer (in microsoft.speechserver.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class BindableInstanceDependencyProperty
Inherits InstanceDependencyProperty
[SerializableAttribute]
public sealed class BindableInstanceDependencyProperty : InstanceDependencyProperty
Remarks
A BindableInstanceDependencyProperty is associated with a DependencyProperty that stores its value and allows binding.
A BindableInstanceDependencyProperty combines an InstanceDependencyProperty ability to persist a property value across clones with a DependencyProperty ability to use ActivityBind to retrieve the value of the property from somewhere else at run time.
Because binding is pull-based, any variable can supply the value for the bind, but the side of the binding that accepts the value must be a DependencyProperty. This is because a DependencyProperty contains the requisite information about how and where to get the value when it is needed.
The following table provides guidance about when to use a DependencyProperty, an InstanceDependencyProperty, a BindableInstanceDependencyProperty, or an ordinary member variable.
If you need |
Use this type of variable |
Binding, but not persistence |
DependencyProperty |
Persistence, but not binding |
InstanceDependencyProperty |
Binding and persistence |
BindableInstanceDependencyProperty |
Neither binding nor persistence |
Ordinary member variable |
Inheritance Hierarchy
System.Object
???? Microsoft.SpeechServer.Dialog.InstanceDependencyProperty
????????Microsoft.SpeechServer.Dialog.BindableInstanceDependencyProperty
Thread Safety
All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition
Target Platforms
Windows Server 2003
See Also
Reference
BindableInstanceDependencyProperty Members
Microsoft.SpeechServer.Dialog Namespace