This topic has not yet been rated - Rate this topic

IControlDesignerAccessor Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides access to a control designer to store temporary design-time data associated with a control.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public interface IControlDesignerAccessor

The IControlDesignerAccessor type exposes the following members.

  Name Description
Public property UserData When implemented, gets a collection of information that can be accessed by a control designer.
Top
  Name Description
Public method GetDesignModeState When implemented, gets the state from the control during use on the design surface.
Public method SetDesignModeState When implemented, sets control state before rendering it on the design surface.
Public method SetOwnerControl When implemented, specifies the control that acts as the owner to the control implementing this method.
Top

The property and methods defined in the IControlDesignerAccessor interface offer a convenient way for the control designer to access a control for passing and retrieving temporary design-time data. The interface is implemented by the Control class. Control designers use the implementation of this interface to access the control.

Temporary design-time data is not persisted with the control itself. To persist design-time data for a control, you should retrieve the contents of the UserData property and store them in a designer-specific location.

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0, 2.0

Windows 8 Release Preview, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 SP2, Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Did you find this helpful?
(1500 characters remaining)