Xceed Toolkit Plus for WPF v4.6 Documentation
PrepareContainerForItemOverride Method (Selector)


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Primitives Namespace > Selector Class : PrepareContainerForItemOverride Method
Element used to display the specified item.
Specified item.
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

Reference

Selector Class
Selector Members
Base Implementation in PrepareContainerForItemOverride