Get the specified dependency property of given type.

Namespace: FirstFloor.SilverlightSpy.Interop
Assembly: FirstFloor.SilverlightSpy.Interop (in FirstFloor.SilverlightSpy.Interop.dll) Version: 4.0.0.0 (4.0.5.0)

Syntax

C#
public static DependencyPropertyInfo DependencyProperty(
	this Type type,
	string name
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function DependencyProperty ( _
	type As Type, _
	name As String _
) As DependencyPropertyInfo
Visual C++
public:
[ExtensionAttribute]
static DependencyPropertyInfo^ DependencyProperty(
	Type^ type, 
	String^ name
)

Parameters

type
Type: System..::..Type
The type.
name
Type: System..::..String
The name.

Return Value

The dependency property info.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also