Edit

Bagikan melalui


SupportsPreviewControlAttribute(Boolean) Constructor

Definition

Initializes a new instance of the SupportsPreviewControlAttribute class and sets the initial value of the SupportsPreviewControl property.

public:
 SupportsPreviewControlAttribute(bool supportsPreviewControl);
public SupportsPreviewControlAttribute (bool supportsPreviewControl);
new System.Web.UI.Design.SupportsPreviewControlAttribute : bool -> System.Web.UI.Design.SupportsPreviewControlAttribute
Public Sub New (supportsPreviewControl As Boolean)

Parameters

supportsPreviewControl
Boolean

The initial value to assign for SupportsPreviewControl.

Remarks

Typically, you do not need to create an instance of the SupportsPreviewControlAttribute class directly. Apply the SupportsPreviewControlAttribute to the class declaration of the custom control designer in the source code.

Applies to