PropertyMetadata.OnApply(DependencyProperty, Type) Method

Definition

Provides processing when this PropertyMetadata is applied to a dependency property.

C#
protected virtual void OnApply(System.Workflow.ComponentModel.DependencyProperty dependencyProperty, Type targetType);

Parameters

dependencyProperty
DependencyProperty

The DependencyProperty to which this PropertyMetadata has been applied.

targetType
Type

The type associated with this metadata if this instance is type-specific metadata. If this is default metadata, this value is a null reference (Nothing in Visual Basic).

Remarks

Sends notification that this metadata has been applied to a property, and the metadata is being sealed. This routine is no-op in this implementation.

Applies to

Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1