SupportsPreviewControlAttribute(Boolean) Constructor

Definition

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

C#
public SupportsPreviewControlAttribute(bool supportsPreviewControl);

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

Proizvod Verzije
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1