MemberDescriptor.DesignTimeOnly Property

 

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 virtual bool DesignTimeOnly { get; }

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
Show: