Szerkesztés

Megosztás a következőn keresztül:


DependencyPropertyDescriptor.DesignTimeOnly Property

Definition

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

public:
 virtual property bool DesignTimeOnly { bool get(); };
public override bool DesignTimeOnly { get; }
member this.DesignTimeOnly : bool
Public Overrides ReadOnly Property DesignTimeOnly As Boolean

Property Value

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.

Remarks

This property relies on the underlying PropertyDescriptor.

Applies to