Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.AvalonDock Assembly / Xceed.Wpf.AvalonDock.Layout Namespace / LayoutContent Class / CanClose Property


In This Topic
    CanClose Property (LayoutContent)
    In This Topic
    Gets or sets whether the content can be closed definitively (removed from the layout and not just hidden).
    Syntax
    'Declaration
     
    Public Property CanClose As Boolean
    'Usage
     
    Dim instance As LayoutContent
    Dim value As Boolean
     
    instance.CanClose = value
     
    value = instance.CanClose
    public bool CanClose {get; set;}

    Property Value

    true if the content can be closed definitively, otherwise false. By default, true.
    Requirements

    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

    See Also