Redigera

Dela via


PropertyMetadata.OnApply(DependencyProperty, Type) Method

Definition

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

protected:
 virtual void OnApply(System::Workflow::ComponentModel::DependencyProperty ^ dependencyProperty, Type ^ targetType);
protected virtual void OnApply (System.Workflow.ComponentModel.DependencyProperty dependencyProperty, Type targetType);
abstract member OnApply : System.Workflow.ComponentModel.DependencyProperty * Type -> unit
override this.OnApply : System.Workflow.ComponentModel.DependencyProperty * Type -> unit
Protected Overridable Sub OnApply (dependencyProperty As DependencyProperty, targetType As Type)

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