DependencyProperty.RegisterReadOnly Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

NameDescription
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.

Return to top
Show: