![]() ![]() |
ESRI.ArcGIS.ADF.Web.UI.WebControls | |
CloseButton Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > FloatingPanel Class : CloseButton Property |
Visual Basic (Declaration) | |
---|---|
<DefaultValueAttribute()> <NotifyParentPropertyAttribute(True)> <ResCategoryAttribute("Floating Panel Appearance")> <ResDescriptionAttribute("Whether the window will have a close button")> <PersistenceModeAttribute(PersistenceMode.Attribute)> Public Property CloseButton As Boolean |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As FloatingPanel Dim value As Boolean instance.CloseButton = value value = instance.CloseButton |
C# | |
---|---|
[DefaultValueAttribute()] [NotifyParentPropertyAttribute(true)] [ResCategoryAttribute("Floating Panel Appearance")] [ResDescriptionAttribute("Whether the window will have a close button")] [PersistenceModeAttribute(PersistenceMode.Attribute)] public bool CloseButton {get; set;} |
Be aware that if the user clicks the Close button to hide the panel, the FloatingPanel will no longer be available unless the application provides a way to show the FloatingPanel again. A client-side JavaScript command may be used in the application to display the panel:
showFloatingPanel('FloatingPanel1');
Pass the client ID of the FloatingPanel into the showFloatingPanel() method. The panel can also be hidden with the JavaScript command hideFloatingPanel(), with the same client-ID argument of the FloatingPanel.
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