Control.SetDesignModeState(IDictionary) Method

Definition

Sets design-time data for a control.

protected:
 virtual void SetDesignModeState(System::Collections::IDictionary ^ data);
protected virtual void SetDesignModeState (System.Collections.IDictionary data);
abstract member SetDesignModeState : System.Collections.IDictionary -> unit
override this.SetDesignModeState : System.Collections.IDictionary -> unit
Protected Overridable Sub SetDesignModeState (data As IDictionary)

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