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

傳回

IDictionary,包含控制項的設計階段資料。An IDictionary containing the design-time data for the control.

實作

備註

GetDesignModeState方法會傳回控制項的設計階段資料。The GetDesignModeState method returns design-time data for a control.

給繼承者的注意事項

null根據預設, 此GetDesignModeState()方法會傳回。The GetDesignModeState() method returns null by default. 您必須覆寫這個方法, 以提供控制項所需的設計階段資料。You must override this method to provide the design-time data your control requires.

適用於

另請參閱