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


In This Topic
    IsActive Property (LayoutContent)
    In This Topic
    Gets whether the content is active.
    Syntax
    'Declaration
     
    <XmlIgnoreAttribute()>
    Public Property IsActive As Boolean
    'Usage
     
    Dim instance As LayoutContent
    Dim value As Boolean
     
    instance.IsActive = value
     
    value = instance.IsActive
    [XmlIgnore()]
    public bool IsActive {get; set;}

    Property Value

    true if the content is active; false otherwise.
    Remarks

    Only one LayoutContent can be active in a DockingManager. When setting this property, make sure this LayoutContent is already added to its parent or the parent won't be able to set its other children IsActive property to false.

    For example, the DockingManager contains 2 LayoutAnchorablePanes and each of them contains 2 LayoutAnchorables. Only 1 of the 4 LayoutAnchorable will have its IsActive property true; the last one that was clicked, or got focus.

    In the following image, LayoutAchorables "333" was just clicked and will have its IsActive property 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