ISelectionItemProvider.SelectionContainer Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the UI Automation provider that implements ISelectionProvider and acts as the container for the calling object.
public:
property System::Windows::Automation::Provider::IRawElementProviderSimple ^ SelectionContainer { System::Windows::Automation::Provider::IRawElementProviderSimple ^ get(); };
public System.Windows.Automation.Provider.IRawElementProviderSimple SelectionContainer { get; }
member this.SelectionContainer : System.Windows.Automation.Provider.IRawElementProviderSimple
Public ReadOnly Property SelectionContainer As IRawElementProviderSimple
Property Value
The provider that supports ISelectionProvider.
Examples
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 IRawElementProviderSimple SelectionContainer
{
get
{
return containerListProvider;
}
}
''' <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
Applies to
See also
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.