ISelectionItemProvider.SelectionContainer Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the UI Automation provider that implements ISelectionProvider and acts as the container for the calling object.

Namespace:   System.Windows.Automation.Provider
Assembly:  UIAutomationProvider (in UIAutomationProvider.dll)

ReadOnly Property SelectionContainer As IRawElementProviderSimple

The following example code returns the UI Automation provider for the list box that contains this list item.

''' <summary>
''' Gets the list box that contains the item.
''' </summary>
''' <remarks>
''' Provider for the list that contains the item.
''' </remarks>
Public ReadOnly Property SelectionContainer() As IRawElementProviderSimple Implements ISelectionItemProvider.SelectionContainer
		Return containerListProvider
	End Get
End Property

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top