Export (0) Print
Expand All

IComponentDesignerStateService Interface

Allows a designer to store and retrieve its state.

Namespace: System.ComponentModel.Design
Assembly: System.Design (in system.design.dll)

public interface IComponentDesignerStateService
public interface IComponentDesignerStateService
public interface IComponentDesignerStateService
Not applicable.

Designer state is keyed by the component with which the designer is associated. The Web Forms design surface offers this service and component designers use the service. This is an optional host service, and control designers should not assume it will always be provided.

Designer state is represented as a set of name/value pairs, in the form of a dictionary. Values stored in the dictionary must be serializable. The specified component should be sited in the designer and should have a non-empty name.

Caution noteCaution:

Do not store sensitive information to the IComponentDesignerStateService. Sensitive information includes password and authentication data, or any data you do not want to expose to an unwanted source.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft