ArcFM Engine Developer Guide
AddValueChanged Method


When this DependencyProperty changes on the instance, the handler will be called.
The target type of the property or the instance if it is an attached property.
The instance of the object.
The handler to call.
Attaches an event handler to be called when a property changes.
Syntax
'Declaration
 
Protected Shared Function AddValueChanged( _
   ByVal dp As DependencyProperty, _
   ByVal targetType As Type, _
   ByVal instance As Object, _
   ByVal handler As EventHandler _
) As Boolean
'Usage
 
Dim dp As DependencyProperty
Dim targetType As Type
Dim instance As Object
Dim handler As EventHandler
Dim value As Boolean
 
value = VisualStateBehavior.AddValueChanged(dp, targetType, instance, handler)
protected static bool AddValueChanged( 
   DependencyProperty dp,
   Type targetType,
   object instance,
   EventHandler handler
)

Parameters

dp
When this DependencyProperty changes on the instance, the handler will be called.
targetType
The target type of the property or the instance if it is an attached property.
instance
The instance of the object.
handler
The handler to call.

Return Value

true if the handler was attached, false otherwise.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

VisualStateBehavior Class
VisualStateBehavior Members

 

 


Send Comment