Redigeeri

Jagamisviis:


ContainerControlDesigner.SetEditableDesignerRegionContent Method

Definition

Sets the content for the editable region of the control at design time.

public:
 override void SetEditableDesignerRegionContent(System::Web::UI::Design::EditableDesignerRegion ^ region, System::String ^ content);
public override void SetEditableDesignerRegionContent (System.Web.UI.Design.EditableDesignerRegion region, string content);
override this.SetEditableDesignerRegionContent : System.Web.UI.Design.EditableDesignerRegion * string -> unit
Public Overrides Sub SetEditableDesignerRegionContent (region As EditableDesignerRegion, content As String)

Parameters

region
EditableDesignerRegion

An editable design region contained within the control.

content
String

Content to assign for the editable design region.

Remarks

The ContainerControlDesigner class implements a single designer region instead of a collection of designer regions. Therefore, the region parameter is ignored, and the SetEditableDesignerRegionContent method sets the content for the single designer region that is contained in the control designer.

Applies to

See also