PropertyPath Constructor (String, Object[])

Initializes a new instance of the PropertyPath class, with the provided pathing token string and parameters.

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

public PropertyPath(
	string path,
	params Object[] pathParameters
)
You cannot use constructors in XAML.

Parameters

path
Type: System.String

A string that specifies the Path, in a tokenized format.

pathParameters
Type: System.Object[]

An array of objects that sets the PathParameters.

This signature is generally only used for target-mode PropertyPath usages with complex paths.

This constructor supports params for the pathParameters constructor argument. Therefore you can specify the contents of pathParameters as a series of comma-separated constructor arguments that populate the array, rather than needing to dimension an array and then populate it with the pathParameters items. Each item you specify must be one of the following types: DependencyProperty, PropertyInfo, PropertyDescriptor.

For more information on the requirements of the parameters, see Path and PathParameters.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft