DependencyPropertyDescriptor.DesignTimeOnly Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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:  WindowsBase (in WindowsBase.dll)

public override 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.

This property relies on the underlying PropertyDescriptor.

.NET Framework
Available since 3.0
Return to top
Show: