DependencyProperty Members
.NET Framework 3.5
Represents a dependency property that is registered with the Windows Presentation Foundation (WPF) property system. Dependency properties provide support for value expressions, property invalidation and dependent-value coercion, default values, inheritance, data binding, animation, property change notification, and styling.
The DependencyProperty type exposes the following members.
| Name | Description | |
|---|---|---|
|
AddOwner | Overloaded. Adds another type as an owner of a dependency property that has already been registered to a type. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Returns a hash code for this DependencyProperty. (Overrides Object.GetHashCode().) |
|
GetMetadata | Overloaded. Returns the metadata associated with this dependency property as it exists for a particular type. This can be the type where the dependency property was first registered, one to which it was added subsequently, or a type where the dependency property was obtained through inheritance but the metadata was specifically overridden. |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
IsValidType | Determines whether a specified value is acceptable for this dependency property's type, as checked against the property type provided in the original dependency property registration. |
|
IsValidValue | Determines whether the provided value is accepted for the type of property through basic type checking, and also potentially if it is within the allowed range of values for that type. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OverrideMetadata | Overloaded. Supplies alternate metadata for this dependency property when it is present on instances of a specified type, versus the metadata that was provided in the initial dependency property registration. |
|
Register | Overloaded. Registers a dependency property. |
|
RegisterAttached | Overloaded. Registers an attached property with the property system. |
|
RegisterAttachedReadOnly | Overloaded. Registers a read-only attached property. |
|
RegisterReadOnly | Overloaded. Registers a dependency property as a read-only dependency property. |
|
ToString | Returns the string representation of the dependency property. (Overrides Object.ToString().) |
| Name | Description | |
|---|---|---|
|
UnsetValue | Specifies a static value that is used by the WPF property system rather than null to indicate that the property exists, but does not have its value set by the property system. |
| Name | Description | |
|---|---|---|
|
DefaultMetadata | Gets the default metadata of the dependency property. |
|
GlobalIndex | Gets an internally generated value that uniquely identifies the dependency property. |
|
Name | Gets the name of the dependency property. |
|
OwnerType | Gets the type of the object that registered the dependency property with the property system, or added itself as owner of the property. |
|
PropertyType | Gets the type that the dependency property uses for its value. |
|
ReadOnly | Gets a value that indicates whether the dependency property identified by this DependencyProperty instance is a read-only dependency property. |
|
ValidateValueCallback | Gets the value validation callback for the dependency property. |