IControlDesignerAccessor.SetDesignModeState(IDictionary) Method

Definition

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

public:
 void SetDesignModeState(System::Collections::IDictionary ^ data);
public void SetDesignModeState (System.Collections.IDictionary data);
abstract member SetDesignModeState : System.Collections.IDictionary -> unit
Public Sub SetDesignModeState (data As IDictionary)

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

See also