IControlDesignerAccessor.SetDesignModeState(IDictionary) Method

Definition

When implemented, sets control state before rendering it on the design surface.

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

Parameters

data
IDictionary

The IDictionary containing the control state.

Remarks

In overridden controls, this method is used to retain and set state for the control during design-time mode. This method is used only by control designers.

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

See also