This topic has not yet been rated - Rate this topic

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

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 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.