Export (0) Print
Expand All

ContentPropertyAttribute Constructor (String)

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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft