Click or drag to resize
ContentPropertyAttribute Class
Indicates which property of a type is the XAML content property. A XAML processor uses this information when processing XAML child elements of XAML representations of the attributed type.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    System.Windows.MarkupContentPropertyAttribute

Namespace: System.Windows.Markup
Assembly: CSharpXamlForHtml5.System.Xaml.dll (in CSharpXamlForHtml5.System.Xaml.dll.dll) Version: 1.0.0.0
Syntax
C#
public class ContentPropertyAttribute : Attribute

The ContentPropertyAttribute type exposes the following members.

Constructors
  NameDescription
Public methodContentPropertyAttribute
Initializes a new instance of the ContentPropertyAttribute class.
Public methodContentPropertyAttribute(String)
Initializes a new instance of the ContentPropertyAttribute class with the specified name.
Top
Methods
  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyName
Gets the name of the property that is the content property.
Top
See Also