Control.SetDesignModeState(IDictionary) Control.SetDesignModeState(IDictionary) Control.SetDesignModeState(IDictionary) Control.SetDesignModeState(IDictionary) Method

定义

为控件设置设计时数据。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)

参数

data
IDictionary IDictionary IDictionary IDictionary

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

实现

注解

SetDesignModeState方法保存控件的设计时数据。The SetDesignModeState method saves design-time data for a control.

继承者说明

必须重写此方法以保存控件需要的设计时数据。You must override this method to save the design-time data your control requires.

适用于