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

IDictionary 包含控件状态。The 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.

适用于

另请参阅