ערוך

שתף באמצעות


WebPartZoneBase.RenderDropCue(HtmlTextWriter) Method

Definition

Renders user interface (UI) elements to indicate to an end user where a WebPart control that is being dragged can be dropped within a zone.

protected:
 virtual void RenderDropCue(System::Web::UI::HtmlTextWriter ^ writer);
protected virtual void RenderDropCue (System.Web.UI.HtmlTextWriter writer);
abstract member RenderDropCue : System.Web.UI.HtmlTextWriter -> unit
override this.RenderDropCue : System.Web.UI.HtmlTextWriter -> unit
Protected Overridable Sub RenderDropCue (writer As HtmlTextWriter)

Parameters

writer
HtmlTextWriter

The HtmlTextWriter that receives the UI elements that indicate where a control can be dropped.

Remarks

If a page is in design display mode, and the AllowLayoutChange property is set to true (the default), users can change a page's layout by dragging WebPart controls within and between zones. The RenderDropCue method renders UI elements, depending on the LayoutOrientation property of the zone, that indicate to users where a control that is being dragged can be dropped.

Applies to

See also