WebPartZoneBase.RenderDropCue(HtmlTextWriter) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.