ESRI.ArcGIS.ADF.Web.UI.WebControls
ShowDockButton Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > FloatingPanel Class : ShowDockButton Property




Gets or sets a value indicating whether the panel is able to be docked and undocked from its container.

Syntax

Visual Basic (Declaration) 
<NotifyParentPropertyAttribute(True)>
<DefaultValueAttribute()>
<ResCategoryAttribute("Floating Panel Appearance")>
<ResDescriptionAttribute("Whether the panel is able to be docked and undocked from its container.")>
<PersistenceModeAttribute()>
Public Property ShowDockButton As Boolean
Visual Basic (Usage)Copy Code
Dim instance As FloatingPanel
Dim value As Boolean
 
instance.ShowDockButton = value
 
value = instance.ShowDockButton
C# 
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[ResCategoryAttribute("Floating Panel Appearance")]
[ResDescriptionAttribute("Whether the panel is able to be docked and undocked from its container.")]
[PersistenceModeAttribute()]
public bool ShowDockButton {get; set;}

Remarks

"Docking" means that the FloatingPanel is moved at runtime within another element on the Web page.

If ShowDockButton is true, a dock button (<<) appears on the title bar of the FloatingPanel when the panel is undocked. The user can dock the panel to a container by clicking the dock button. When docked, the dock button changes to an undock symbol (>>). The panel cannot be moved while docked. When the undock button is clicked, the panel is moved outside the docking container and can be moved around the page.

Related docking properties:

  • DockingContainerElementID: For docking to work properly, the DockingContainerElementID must be set to the ID of a control or element that is capable of containing the panel. Suitable containers include the ASP.NET Panel control, the div element (HTML DIV control), and a cell within a table, either an ASP.NET table control or HTML table.
  • Docked: determines whether the panel is docked into the on startup.
  • ShowDockedContextMenu: determines whether a right-click context menu is available from the title bar when the panel is docked. The context menu allows moving the panel up or down when multiple panels are present within the container.

See Also

© 2010 All Rights Reserved.