ESRI.ArcGIS.ADF.Web.UI.WebControls
ShowDockButton Property
See Also  Send Feedback
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) 
<ResCategoryAttribute("Floating Panel Appearance")>
<ResDescriptionAttribute("Whether the panel is able to be docked and undocked from its container.")>
<NotifyParentPropertyAttribute(True)>
<DefaultValueAttribute()>
<PersistenceModeAttribute(PersistenceMode.Attribute)>
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# 
[ResCategoryAttribute("Floating Panel Appearance")]
[ResDescriptionAttribute("Whether the panel is able to be docked and undocked from its container.")]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.