Method Close
| Improve this Doc View SourceClose()
Closes the DockItem.
Declaration
public bool Close()
Returns
Type | Description |
---|---|
System.Boolean | true if DockItem successfully closed, otherwise, false. |
Remarks
When a DockItem is closed, it is removed from DockItems collection of its DockControl. You can prevent the closing of a DockItem at run time by handling the Closing event and setting the System.ComponentModel.CancelEventArgs.Cancel property of the System.ComponentModel.CancelEventArgs passed as a parameter to your event handler.