Redigera

Dela via


ContainerControlDesigner.GetEditableDesignerRegionContent Method

Definition

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

public:
 override System::String ^ GetEditableDesignerRegionContent(System::Web::UI::Design::EditableDesignerRegion ^ region);
public override string GetEditableDesignerRegionContent (System.Web.UI.Design.EditableDesignerRegion region);
override this.GetEditableDesignerRegionContent : System.Web.UI.Design.EditableDesignerRegion -> string
Public Overrides Function GetEditableDesignerRegionContent (region As EditableDesignerRegion) As String

Parameters

region
EditableDesignerRegion

An editable design region contained within the control.

Returns

The persisted content of the region contained within the ContainerControlDesigner.

Remarks

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

Applies to

See also