Gets or sets whether the content can be closed definitively (removed from the layout and not just hidden).
public bool CanClose {get; set;}
'Declaration
Public Property CanClose As Boolean
'Usage
Dim instance As LayoutContent
Dim value As Boolean
instance.CanClose = value
value = instance.CanClose
Property Value
true if the content can be closed definitively, otherwise
false. By default,
true.
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2