Click or drag to resize

ContentPropertyAttribute Class

Attribute to indicate which property of a type is the content property
Inheritance Hierarchy

Namespace:  Eto
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed 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
Properties
  NameDescription
Public propertyName
Gets the name of the property to use as the content property
Top
Remarks
Used for compatibility with XAML.
See Also

Reference