Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IControlDesignerView Interface
Collapse the table of content
Expand the table of content

IControlDesignerView Interface

Provides an interface for access to the visual representation and content of a control at design time.

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

public interface IControlDesignerView

The IControlDesignerView type exposes the following members.

Public propertyContainingRegionGets the designer region that contains the associated control, if any.
Public propertyNamingContainerDesignerGets the designer component for the naming container of the associated control, if any.
Public propertySupportsRegionsGets a value indicating whether designer regions are supported.

Public methodGetBoundsRetrieves the outer bounds of the designer view.
Public methodInvalidateNotifies the design host that the area represented by the provided rectangle needs to be repainted on the design surface.
Public methodSetFlagsFor a description of this member, see IControlDesignerView.SetFlags.
Public methodSetRegionContentPuts the provided content into the provided designer region.
Public methodUpdateCauses the associated control to redraw the invalidated regions within its client area.

Public eventViewEventAn event raised by the design host for the view and designer component.

This interface is intended for use by design host developers.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft