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.

C#
protected virtual void RenderDropCue(System.Web.UI.HtmlTextWriter writer);

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

Продукт Версії
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also