Windows apps
Collapse the table of content
Expand the table of content
Information
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.

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:
© 2017 Microsoft