Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Primitives Namespace / Selector Class / PrepareContainerForItemOverride Method
Element used to display the specified item.
Specified item.


In This Topic
    PrepareContainerForItemOverride Method (Selector)
    In This Topic
    Prepares the specified element to display the specified item.
    Syntax
    'Declaration
     
    Protected Overrides Sub PrepareContainerForItemOverride( _
       ByVal element As DependencyObject, _
       ByVal item As Object _
    ) 
    'Usage
     
    Dim instance As Selector
    Dim element As DependencyObject
    Dim item As Object
     
    instance.PrepareContainerForItemOverride(element, item)
    protected override void PrepareContainerForItemOverride( 
       DependencyObject element,
       object item
    )

    Parameters

    element
    Element used to display the specified item.
    item
    Specified item.
    Remarks
    The method first attempts to use SelectedMemberPath (if none-null) and then SelectedItems (if not empty) to determine which item, if any, is selected.
    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