Xceed Toolkit Plus for WPF v4.6 Documentation
ListBoxItemConfiguration Class
Members  Example 


Xceed.Wpf.ListBox Assembly > Xceed.Wpf.ListBox Namespace : ListBoxItemConfiguration Class
Provides configuration information for a ListBoxItem.
Syntax
'Declaration
 
<TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
<NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
Public Class ListBoxItemConfiguration 
   Inherits Xceed.Wpf.ListBox.ListBoxContainerConfiguration(Of ListBoxItem)
'Usage
 
Dim instance As ListBoxItemConfiguration
[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
[NameScopeProperty("NameScope", System.Windows.NameScope)]
public class ListBoxItemConfiguration : Xceed.Wpf.ListBox.ListBoxContainerConfiguration<ListBoxItem> 
Example
<sllb:ListBoxItemConfiguration x:Name="OrderItemConfiguration"
                               ContentTemplate="{StaticResource orderDataTemplate}"/>

...

<sllb:ListBox x:Name="listBox"
              SelectionMode="Extended"
              ItemsSource="{Binding}"
              ToolPaneVisibility="Collapsed">

  <sllb:ListBox.ContainerConfigurations>
    <sllb:ContainerConfigurations ListBoxGroupHeaderConfiguration="{StaticResource OrderListBoxGroupHeaderConfiguration}"
                                  ListBoxItemConfiguration="{StaticResource OrderItemConfiguration}"/>
  </sllb:ListBox.ContainerConfigurations>

</sllb:ListBox>
Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         Xceed.Wpf.ListBox.ListBoxContainerConfigurationBase
            Xceed.Wpf.ListBox.ListBoxContainerConfiguration<T>
               Xceed.Wpf.ListBox.ListBoxItemConfiguration

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

ListBoxItemConfiguration Members
Xceed.Wpf.ListBox Namespace