DependencyProperty Methods

DependencyProperty Methods

 

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

NameDescription
System_CAPS_pubmethodAddOwner(Type)

Adds another type as an owner of a dependency property that has already been registered.

System_CAPS_pubmethodAddOwner(Type, PropertyMetadata)

Adds another type as an owner of a dependency property that has already been registered, providing dependency property metadata for the dependency property as it will exist on the provided owner type.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Returns a hash code for this DependencyProperty.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetMetadata(DependencyObject)

Returns the metadata for this dependency property as it exists on the specified object instance.

System_CAPS_pubmethodGetMetadata(DependencyObjectType)

Returns the metadata for this dependency property as it exists on a specified type.

System_CAPS_pubmethodGetMetadata(Type)

Returns the metadata for this dependency property as it exists on a specified existing type.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIsValidType(Object)

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.

System_CAPS_pubmethodIsValidValue(Object)

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.

System_CAPS_pubmethodOverrideMetadata(Type, PropertyMetadata)

Specifies alternate metadata for this dependency property when it is present on instances of a specified type, overriding the metadata that existed for the dependency property as it was inherited from base types.

System_CAPS_pubmethodOverrideMetadata(Type, PropertyMetadata, DependencyPropertyKey)

Supplies alternate metadata for a read-only dependency property when it is present on instances of a specified type, overriding the metadata that was provided in the initial dependency property registration. You must pass the DependencyPropertyKey for the read-only dependency property to avoid raising an exception.

System_CAPS_pubmethodSystem_CAPS_staticRegister(String, Type, Type)

Registers a dependency property with the specified property name, property type, and owner type.

System_CAPS_pubmethodSystem_CAPS_staticRegister(String, Type, Type, PropertyMetadata)

Registers a dependency property with the specified property name, property type, owner type, and property metadata.

System_CAPS_pubmethodSystem_CAPS_staticRegister(String, Type, Type, PropertyMetadata, ValidateValueCallback)

Registers a dependency property with the specified property name, property type, owner type, property metadata, and a value validation callback for the property.

System_CAPS_pubmethodSystem_CAPS_staticRegisterAttached(String, Type, Type)

Registers an attached property with the specified property name, property type, and owner type.

System_CAPS_pubmethodSystem_CAPS_staticRegisterAttached(String, Type, Type, PropertyMetadata)

Registers an attached property with the specified property name, property type, owner type, and property metadata.

System_CAPS_pubmethodSystem_CAPS_staticRegisterAttached(String, Type, Type, PropertyMetadata, ValidateValueCallback)

Registers an attached property with the specified property type, owner type, property metadata, and value validation callback for the property.

System_CAPS_pubmethodSystem_CAPS_staticRegisterAttachedReadOnly(String, Type, Type, PropertyMetadata)

Registers a read-only attached property, with the specified property type, owner type, and property metadata.

System_CAPS_pubmethodSystem_CAPS_staticRegisterAttachedReadOnly(String, Type, Type, PropertyMetadata, ValidateValueCallback)

Registers a read-only attached property, with the specified property type, owner type, property metadata, and a validation callback.

System_CAPS_pubmethodSystem_CAPS_staticRegisterReadOnly(String, Type, Type, PropertyMetadata)

Registers a read-only dependency property, with the specified property type, owner type, and property metadata.

System_CAPS_pubmethodSystem_CAPS_staticRegisterReadOnly(String, Type, Type, PropertyMetadata, ValidateValueCallback)

Registers a read-only dependency property, with the specified property type, owner type, property metadata, and a validation callback.

System_CAPS_pubmethodToString()

Returns the string representation of the dependency property. (Overrides Object.ToString().)

Return to top
Show:
© 2016 Microsoft