Xceed Toolkit Plus for WPF v4.6 Documentation
ContainerLayoutMode Enumeration


Xceed.Wpf.ListBox Assembly > Xceed.Wpf.ListBox Namespace : ContainerLayoutMode Enumeration
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
MemberDescription
Default

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

Floating

The container is laid out vertically.

Horizontal

The container is laid out horizontally.

Vertical

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

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

Reference

Xceed.Wpf.ListBox Namespace