DependencyProperty.RegisterAttached Method (String, Type, Type, PropertyMetadata)

 
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.

Initializes a new instance of the DependencyProperty class that has the properties parameterized according to the input parameters.

Namespace:   System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public static DependencyProperty RegisterAttached(
	string name,
	Type propertyType,
	Type ownerType,
	PropertyMetadata defaultMetadata
)

Parameters

name
Type: System.String

The name of the DependencyProperty.

propertyType
Type: System.Type

Type of the value the property can contain.

ownerType
Type: System.Type

Owner Type of the dependency property.

defaultMetadata
Type: System.Workflow.ComponentModel.PropertyMetadata

Additional property options.

Return Value

Type: System.Workflow.ComponentModel.DependencyProperty

The DependencyProperty class that has the properties parameterized according to the input parameters.

.NET Framework
Available since 3.0
Return to top
Show: