Xceed Toolkit Plus for WPF v4.6 Documentation
GetParentListBox Method


Xceed.Wpf.ListBox Assembly > Xceed.Wpf.ListBox Namespace > ListBox Class : GetParentListBox Method
The ListBoxContainer whose parent ListBox will be returned.
Returns the parent ListBox of a ListBoxContainer
Syntax
'Declaration
 
Public Shared Function GetParentListBox( _
   ByVal obj As DependencyObject _
) As ListBox
'Usage
 
Dim obj As DependencyObject
Dim value As ListBox
 
value = ListBox.GetParentListBox(obj)
public static ListBox GetParentListBox( 
   DependencyObject obj
)

Parameters

obj
The ListBoxContainer whose parent ListBox will be returned.

Return Value

The parent ListBox.
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

ListBox Class
ListBox Members