Compartir vía


ISelectionItemProvider.SelectionContainer Propiedad

Definición

Obtiene el proveedor de automatización de la interfaz de usuario que implementa ISelectionProvider y actúa como contenedor para el objeto que realiza la llamada.

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

Valor de propiedad

Proveedor que admite ISelectionProvider.

Ejemplos

El código de ejemplo siguiente devuelve el proveedor de Automatización de la interfaz de usuario para el cuadro de lista que contiene este elemento de lista.

/// <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

Se aplica a

Consulte también