Xceed Toolkit Plus for WPF v4.6 Documentation
ItemsPanelTemplate Class
Members 


Xceed.Wpf.ListBox Assembly > Xceed.Wpf.ListBox Namespace : ItemsPanelTemplate Class
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

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

ItemsPanelTemplate Members
Xceed.Wpf.ListBox Namespace