Share via

DesignerSerializationVisibilityAttribute.Content Field


Specifies that a serializer should serialize the contents of the property, rather than the property itself. This field is read-only.

public: static initonly System::ComponentModel::DesignerSerializationVisibilityAttribute ^ Content;
public static readonly System.ComponentModel.DesignerSerializationVisibilityAttribute Content;
 staticval mutable Content : System.ComponentModel.DesignerSerializationVisibilityAttribute
Public Shared ReadOnly Content As DesignerSerializationVisibilityAttribute 

Field Value


When you mark a property with DesignerSerializationVisibilityAttribute.Content, the value of its Visibility property is set to Content.

Applies to

See also