Table of Contents

Class DependencyPropertyKey

Namespace
Alternet.UI
Assembly
Alternet.UI.dll
Authorization key for access to read-only DependencyProperty.

Acquired via DependencyProperty.RegisterReadOnly/RegisterAttachedReadOnly and used in DependencyObject.SetValue/ClearValue.

public sealed class DependencyPropertyKey
Inheritance
DependencyPropertyKey

Remarks

This object can have a transient state upon creation where the _dp 

field can be null until initialized. However in use _dp needs to always be non-null. Otherwise it is treated as a key that can't unlock anything. (When needed, this property is available via the static constant NoAccess.

Properties

DependencyProperty
The DependencyProperty associated with this access key.  This key

does not authorize access to any other property.

Methods

OverrideMetadata(Type, PropertyMetadata)
Override the metadata of a property that is already secured with

this key.