Helper to not root (keep alive) the target object if registering on
value change events.
Inheritance Hierarchy
System.Windows.ThreadingDispatcherObject
System.WindowsDependencyObject
Stemmer.Cvb.WpfPropertyChangeNotifier
Namespace: Stemmer.Cvb.Wpf
Assembly: Stemmer.Cvb.Wpf (in Stemmer.Cvb.Wpf.dll) Version: 14.0.0.0
Syntax
The PropertyChangeNotifier type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PropertyChangeNotifier(DependencyObject, String) |
Creates the notifier from the given propertySource
and its property path.
| |
PropertyChangeNotifier(DependencyObject, DependencyProperty) |
Creates the notifier from the given propertySource
and its property.
| |
PropertyChangeNotifier(DependencyObject, PropertyPath) |
Creates the notifier from the given propertySource
and its property path.
|
Properties
Name | Description | |
---|---|---|
DependencyObjectType | Gets the DependencyObjectType that wraps the CLR type of this instance. (Inherited from DependencyObject.) | |
Dispatcher | Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.) | |
IsSealed | Gets a value that indicates whether this instance is currently sealed (read-only). (Inherited from DependencyObject.) | |
PropertySource |
Gets the property source object or null if it doesn't exist.
| |
Value |
Returns/sets the value of the property.
|
Methods
Name | Description | |
---|---|---|
CheckAccess | Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) | |
ClearValue(DependencyProperty) | Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier. (Inherited from DependencyObject.) | |
ClearValue(DependencyPropertyKey) | Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey. (Inherited from DependencyObject.) | |
CoerceValue | Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject. (Inherited from DependencyObject.) | |
Dispose |
Clears the binding.
| |
Equals | Determines whether a provided DependencyObject is equivalent to the current DependencyObject. (Inherited from DependencyObject.) | |
Finalize |
Finalizer.
(Overrides ObjectFinalize.) | |
GetHashCode | Gets a hash code for this DependencyObject. (Inherited from DependencyObject.) | |
GetLocalValueEnumerator | Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject. (Inherited from DependencyObject.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue | Returns the current effective value of a dependency property on this instance of a DependencyObject. (Inherited from DependencyObject.) | |
InvalidateProperty | Re-evaluates the effective value for the specified dependency property (Inherited from DependencyObject.) | |
ReadLocalValue | Returns the local value of a dependency property, if it exists. (Inherited from DependencyObject.) | |
SetCurrentValue | Sets the value of a dependency property without changing its value source. (Inherited from DependencyObject.) | |
SetValue(DependencyProperty, Object) | Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from DependencyObject.) | |
SetValue(DependencyPropertyKey, Object) | Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property. (Inherited from DependencyObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
VerifyAccess | Enforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) |
Events
Name | Description | |
---|---|---|
ValueChanged |
The event to notify on registered property value change.
|
Fields
Name | Description | |
---|---|---|
ValueProperty |
Identifies the Value dependency property.
|
Extension Methods
Name | Description | |
---|---|---|
FindVisualParentT |
Finds a parent of a certain type of a this item in the visual tree.
(Defined by VisualTreeHelperExtensions.) |
Remarks
See Also