PropertyPath Constructor (String, Object[])
Collapse the table of content
Expand the table of content

PropertyPath.PropertyPath(String, Object[]) Constructor

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
)
public PropertyPath (
	String path, 
	Object[] pathParameters
)
public function PropertyPath (
	path : String, 
	... pathParameters : Object[]
)
You cannot use constructors in XAML.

Parameters

path

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

pathParameters

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2016 Microsoft