Xceed Toolkit Plus for WPF v4.6 Documentation
GetContainer Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridControl Class : GetContainer Method
A DependencyObject representing the item whose container is to be retrieved.
Retrieves the container for the specified DependencyObject.
Syntax
'Declaration
 
Public Shared Function GetContainer( _
   ByVal obj As DependencyObject _
) As FrameworkElement
'Usage
 
Dim obj As DependencyObject
Dim value As FrameworkElement
 
value = DataGridControl.GetContainer(obj)
public static FrameworkElement GetContainer( 
   DependencyObject obj
)

Parameters

obj
A DependencyObject representing the item whose container is to be retrieved.

Return Value

A FrameworkElement object representing the container.
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

DataGridControl Class
DataGridControl Members