Control.GetDesignModeState Control.GetDesignModeState Control.GetDesignModeState Control.GetDesignModeState Method

定义

获取控件的设计时数据。Gets design-time data for a control.

protected:
 virtual System::Collections::IDictionary ^ GetDesignModeState();
protected virtual System.Collections.IDictionary GetDesignModeState ();
abstract member GetDesignModeState : unit -> System.Collections.IDictionary
override this.GetDesignModeState : unit -> System.Collections.IDictionary
Protected Overridable Function GetDesignModeState () As IDictionary

返回

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

实现

注解

GetDesignModeState方法返回控件的设计时数据。The GetDesignModeState method returns design-time data for a control.

继承者说明

默认GetDesignModeState()情况下null ,该方法返回。The GetDesignModeState() method returns null by default. 必须重写此方法,以提供控件需要的设计时数据。You must override this method to provide the design-time data your control requires.

适用于

另请参阅