SupportsPreviewControlAttribute(Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.