DockItem.Close Method

DevZest WPF Docking

DockItemClose Method
Closes the DockItem.

Namespace: DevZest.Windows.Docking
Assembly: DevZest.WpfDocking (in DevZest.WpfDocking.dll) Version: 2.5.0.0 (2.5.5912.0)
Syntax
public bool Close()
Public Function Close As Boolean

Return Value

Type: Boolean
if DockItem successfully closed, otherwise, .
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 Cancel property of the CancelEventArgs passed as a parameter to your event handler.
See Also