Xceed Toolkit Plus for WPF v5.1 Documentation
Xceed.Wpf.ListBox Assembly / Xceed.Wpf.ListBox Namespace / ListBoxItemConfiguration Class
Members Example


In This Topic
    ListBoxItemConfiguration Class
    In This Topic
    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

    Public Constructors
     NameDescription
    Public ConstructorOverloaded. Initializes a new instance of the ListBoxItemConfiguration class.  
    Top
    Public Properties
     NameDescription
    Public PropertyOverridden. 

    Gets a value indicating whether the container can be sticky.

     
    Public PropertyGets a configuration type indicating what kind of container the configuration represents. (Inherited from Xceed.Wpf.ListBox.ListBoxContainerConfigurationBase)
    Public PropertyGets or sets the style that will be applied to the containers created by this configuration. (Inherited from Xceed.Wpf.ListBox.ListBoxContainerConfigurationBase)
    Public PropertyGets or sets the data template that will be used to display the container's content created by this configuration. (Inherited from Xceed.Wpf.ListBox.ListBoxContainerConfigurationBase)
    Public Property (Inherited from System.Windows.DependencyObject)
    Public Property (Inherited from System.Windows.Threading.DispatcherObject)
    Public Property (Inherited from System.Windows.DependencyObject)
    Public PropertyGets or sets a value indicating whether the container is sticky. (Inherited from Xceed.Wpf.ListBox.ListBoxContainerConfigurationBase)
    Public PropertyGets or sets the layout mode of the container. (Inherited from Xceed.Wpf.ListBox.ListBoxContainerConfigurationBase)
    Top
    Public Methods
    Protected Methods
     NameDescription
    Protected Method (Inherited from Xceed.Wpf.ListBox.ListBoxContainerConfigurationBase)
    Protected MethodOverridden. Returns a new instance of ListBoxItem created with this configuration.  
    Protected Internal MethodOverridden. Returns an instance of ListBoxContainerConfigurationBase.  
    Protected Method (Inherited from Xceed.Wpf.ListBox.ListBoxContainerConfigurationBase)
    Protected Method (Inherited from System.Windows.DependencyObject)
    Protected MethodApplies extra properties when the ListBoxContainer is about to be used to represent a new item. (Inherited from Xceed.Wpf.ListBox.ListBoxContainerConfiguration<ListBoxItem>)
    Protected Internal Method (Inherited from System.Windows.DependencyObject)
    Top
    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