MemberDescriptor.DesignTimeOnly Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets whether this member should be set only at design time, as specified in the DesignOnlyAttribute.

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

Public Overridable ReadOnly Property DesignTimeOnly As Boolean

Property Value

Type: System.Boolean

true if this member should be set only at design time; false if the member can be set during run time.

If there is no DesignOnlyAttribute, the return value is the default, which is false.

.NET Framework
Available since 1.1
Return to top