ISelectionItemProvider.SelectionContainer Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
	Get
		Return containerListProvider
	End Get
End Property

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