ESRI.ArcGIS.ADF.Web.UI.WebControls
ShowDockedContextMenu Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > FloatingPanel Class : ShowDockedContextMenu Property




Whether a context menu is shown when the panel is docked and the user right-clicks on the title bar.

Syntax

Visual Basic (Declaration) 
<NotifyParentPropertyAttribute(True)>
<ResDescriptionAttribute("Whether the context menu is shown when the panel is docked.")>
<ResCategoryAttribute("Floating Panel Appearance")>
<DefaultValueAttribute()>
<PersistenceModeAttribute(PersistenceMode.Attribute)>
Public Property ShowDockedContextMenu As Boolean
Visual Basic (Usage)Copy Code
Dim instance As FloatingPanel
Dim value As Boolean
 
instance.ShowDockedContextMenu = value
 
value = instance.ShowDockedContextMenu
C# 
[NotifyParentPropertyAttribute(true)]
[ResDescriptionAttribute("Whether the context menu is shown when the panel is docked.")]
[ResCategoryAttribute("Floating Panel Appearance")]
[DefaultValueAttribute()]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
public bool ShowDockedContextMenu {get; set;}

Remarks

If this property is true, then when the FloatingPanel is docked, a context menu appears when the user right-clicks on the FloatingPanel's title bar. The context menu has four choices: Move To Top, Move Up, Move Down and Move To Bottom.

If the container has multiple FloatingPanel controls, clicking one of these four choices moves the panel as indicated. If the container currently has only the one FloatingPanel, the context menu choices will have no effect.

For more details on docking of a FloatingPanel, see the remarks for ShowDockButton.

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.