ESRI.ArcGIS.ADF.Web.UI.WebControls
ShowDockedContextMenu Property
See Also 
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) 
<DefaultValueAttribute()>
<ResCategoryAttribute("Floating Panel Appearance")>
<ResDescriptionAttribute("Whether the context menu is shown when the panel is docked.")>
<PersistenceModeAttribute()>
<NotifyParentPropertyAttribute(True)>
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# 
[DefaultValueAttribute()]
[ResCategoryAttribute("Floating Panel Appearance")]
[ResDescriptionAttribute("Whether the context menu is shown when the panel is docked.")]
[PersistenceModeAttribute()]
[NotifyParentPropertyAttribute(true)]
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.

See Also

© 2010 All Rights Reserved.