ContentPropertyAttribute Constructor (String)
Collapse the table of content
Expand the table of content

ContentPropertyAttribute Constructor (String)

[ 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 ContentPropertyAttribute class, using the specified content property name.

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

public ContentPropertyAttribute(
	string name
)

Parameters

name
Type: System.String
The content property name.

Within the context of an owning type, just the name must be enough to identify its content property.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft