This documentation is archived and is not being maintained.

DependencyProperty.RegisterReadOnly Method

Registers a dependency property as a read-only dependency property.

Name Description
DependencyProperty.RegisterReadOnly (String, Type, Type, PropertyMetadata) Registers a read-only dependency property, with the specified property type, owner type, and property metadata.
DependencyProperty.RegisterReadOnly (String, Type, Type, PropertyMetadata, ValidateValueCallback) Registers a read-only dependency property, with the specified property type, owner type, property metadata, and a validation callback.
Show: