Menu.SetDesignModeState(IDictionary) 方法

定義

設定 Menu 控制項的設計階段資料。Sets design-time data for the Menu control.

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

參數

data
IDictionary

IDictionary,包含顯示控制項的狀態資料。An IDictionary that contains state data for displaying the control.

備註

這個方法會覆寫 SetDesignModeStateThis method overrides SetDesignModeState.

注意

這個方法主要由控制項開發人員用來擴充 Menu 控制項。This method is used primarily by control developers to extend the Menu control.

適用於