Control.SetDesignModeState(IDictionary) Method

Definition

Sets design-time data for a control.

C#
protected virtual void SetDesignModeState(System.Collections.IDictionary data);

Parameters

data
IDictionary

An IDictionary containing the design-time data for the control.

Remarks

The SetDesignModeState method saves design-time data for a control.

Notes to Inheritors

You must override this method to save the design-time data your control requires.

Applies to

Product Versions
.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