DesignOnlyAttribute Constructor (Boolean)

 

Initializes a new instance of the DesignOnlyAttribute class.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public:
DesignOnlyAttribute(
	bool isDesignOnly
)

Parameters

isDesignOnly
Type: System::Boolean

true if a property can be set only at design time; false if the property can be set at design time and at run time.

.NET Framework
Available since 1.1
Return to top
Show: