The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
DesignerSerializationVisibilityAttribute Constructor (DesignerSerializationVisibility)
.NET Framework (current version)
Initializes a new instance of the DesignerSerializationVisibilityAttribute class using the specified DesignerSerializationVisibility value.
Assembly: System (in System.dll)
public:
DesignerSerializationVisibilityAttribute(
DesignerSerializationVisibility visibility
)
Parameters
- visibility
-
Type:
System.ComponentModel::DesignerSerializationVisibility
One of the DesignerSerializationVisibility values.
The following code example specifies how a property on a component is saved by a designer. This code creates a new DesignerSerializationVisibilityAttribute and sets its value to DesignerSerializationVisibilityAttribute::Content.
.NET Framework
Available since 1.1
Available since 1.1
Show: