See Also: DesignOnlyAttribute
public sealed class DesignOnlyAttribute : Attribute
Members marked with the DesignOnlyAttribute set to true can be set only at design time. Typically, these properties exist only at design time and do not correspond to a real property on the object at run time.
Members that either have no attribute or are marked with the DesignOnlyAttribute set to false can be set during run time. The default is false.
A property with the DesignOnlyAttribute set to true has its value serialized to the .resx file instead of the InitializeComponent method.
For more information, see Extending Metadata Using Attributes.
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 126.96.36.199, 188.8.131.52
The members of System.ComponentModel.DesignOnlyAttribute are listed below.
See Also: Attribute
Specifies that a property can be set at design time or at run time. This static field is read-only.
Specifies that a property can be set only at design time. This static field is read-only.