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


In This Topic
    IsSelected Property (LayoutContent)
    In This Topic
    Gets or sets whether a content element is selected.
    Syntax
    'Declaration
     
    Public Property IsSelected As Boolean
    'Usage
     
    Dim instance As LayoutContent
    Dim value As Boolean
     
    instance.IsSelected = value
     
    value = instance.IsSelected
    public bool IsSelected {get; set;}

    Property Value

    true if the content element is selected; false otherwise.
    Remarks

    Many LayoutContents could be selected in a DockingManager.

    For example, the DockingManager contains 2 LayoutAnchorablePanes and each of them contains 2 LayoutAnchorables. Each of the LayoutAnchorablePanes will have one of its chidren selected. So there will be 2 LayoutAnchorables having their IsSelected property true; the selected ones in each of the LayoutAnchorablePane.

    In the following image, LayoutAcnhorables "111" and "444" will have their IsSelected 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