Attribute that can be added to classes that will be serialized by XAML readers and writers to determine what property to use for the default content of the xml element.

Namespace: yWorks.Support.Windows
Assembly: yWorks.yFilesNET.Viewer (in yWorks.yFilesNET.Viewer.dll) Version: 4.1.0.1 (4.1.0.1)

Syntax

C#
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class ContentPropertyAttribute : Attribute
Visual Basic
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False, Inherited := True)> _
Public NotInheritable Class ContentPropertyAttribute _
	Inherits Attribute

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    yWorks.Support.Windows..::..ContentPropertyAttribute

See Also