Xceed Toolkit Plus for WPF v5.1 Documentation
Xceed.Wpf.ListBox Assembly / Xceed.Wpf.ListBox Namespace / ItemsPanelTemplate Class


In This Topic
    ItemsPanelTemplate Class
    In This Topic
    Represents a data template used to wrap a PanelBase-derived object.
    Syntax
    'Declaration
     
    
    <DictionaryKeyPropertyAttribute("DataTemplateKey")>
    <ContentPropertyAttribute("VisualTree")>
    <LocalizabilityAttribute(LocalizationCategory.NeverLocalize)>
    Public NotInheritable Class ItemsPanelTemplate 
       Inherits System.Windows.DataTemplate
    'Usage
     
    
    Dim instance As ItemsPanelTemplate
    [DictionaryKeyProperty("DataTemplateKey")]
    [ContentProperty("VisualTree")]
    [Localizability(LocalizationCategory.NeverLocalize)]
    public sealed class ItemsPanelTemplate : System.Windows.DataTemplate 
    Remarks
    An instance of this class should be set as the ListBox's ItemPanelTemplate property, which causes the ListBox to change the panel used to lay out the containers. Setting anything else than a Xceed.Wpf.PanelBase in this data template results in an exception being thrown.
    Inheritance Hierarchy

    System.Object
       System.Windows.Threading.DispatcherObject
          System.Windows.FrameworkTemplate
             System.Windows.DataTemplate
                Xceed.Wpf.ListBox.ItemsPanelTemplate

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the IntemsPanelTemplate class.  
    Top
    Public Properties
    Public Methods
    Protected Methods
     NameDescription
    Protected Method (Inherited from System.Windows.DataTemplate)
    Top
    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