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

包含控件的设计时数据的 IDictionaryAn IDictionary containing the design-time data for the control.

Implements

Remarks

SetDesignModeState 方法保存控件的设计时数据。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