IControlDesignerAccessor.SetDesignModeState(IDictionary) IControlDesignerAccessor.SetDesignModeState(IDictionary) IControlDesignerAccessor.SetDesignModeState(IDictionary) IControlDesignerAccessor.SetDesignModeState(IDictionary) Method

定義

實作時,會先設定控制項狀態,以在設計介面上呈現。When implemented, sets control state before rendering it on the design surface.

public:
 void SetDesignModeState(System::Collections::IDictionary ^ data);
public void SetDesignModeState (System.Collections.IDictionary data);
abstract member SetDesignModeState : System.Collections.IDictionary -> unit
Public Sub SetDesignModeState (data As IDictionary)

參數

data
IDictionary IDictionary IDictionary IDictionary

包含控制項狀態的 IDictionaryThe IDictionary containing the control state.

備註

在覆寫控制項中,這個方法用來保留,並在設計階段模式下設定控制項的狀態。In overridden controls, this method is used to retain and set state for the control during design-time mode. 這個方法僅供控制項設計工具。This method is used only by control designers.

適用於

另請參閱