PropertyPath Constructor (Object)
Collapse the table of content
Expand the table of content

PropertyPath Constructor (Object)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the PropertyPath class.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
Public Sub New ( _
	parameter As Object _
)

Parameters

parameter
Type: System.Object
A dependency property identifier, or a property path string.

In Windows Phone, you typically construct a PropertyPath based on a string, regardless of intended usage.

Important noteImportant Note:

If you construct a PropertyPath from a DependencyProperty, that PropertyPath is not usable as a Binding.Path. The Path value for the constructed PropertyPath is the string value (0), which is a sentinel value used by the binding engine for an invalid path.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft