Xceed Toolkit Plus for WPF v5.1 Documentation
Xceed.Wpf.ListBox Assembly / Xceed.Wpf.ListBox Namespace / ContainerLayoutMode Enumeration


In This Topic
    ContainerLayoutMode Enumeration
    In This Topic
    Value representing the layout mode of a container.
    Syntax
    'Declaration
     
    
    Public Enum ContainerLayoutMode 
       Inherits System.Enum
    'Usage
     
    
    Dim instance As ContainerLayoutMode
    public enum ContainerLayoutMode : System.Enum 
    Members
    MemberValueDescription
    Default0

    The container layout is inherited from the panel or active view.

    Floating3

    The container is laid out vertically.

    Horizontal1

    The container is laid out horizontally.

    Vertical2

    The container is part of a floating layout.

    Remarks

    The ContainerLayoutMode is used to determine the visual state chosen by the ListBox for its elements. This provides a configurable way to change the container's template either depending on the positioning of the panel/active view (ContainerLayoutMode.Default) or specified through the container's configuration. For example, with a horizontal StackPanel, if the default configuration is used, the LayoutMode of containers will be set to Horizontal, which will cause their visual state to be set to Horizontal, which modifies the visual representation so it is adapted to a horizontal orientation.

    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Xceed.Wpf.ListBox.ContainerLayoutMode

    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also