ListBoxItemAutomationPeer.ISelectionItemProvider.IsSelected Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets a value that indicates whether an item is selected.

Namespace:  System.Windows.Automation.Peers
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Private ReadOnly Property IsSelected As Boolean
    Implements ISelectionItemProvider.IsSelected
'Usage
Dim instance As ListBoxItemAutomationPeer
Dim value As Boolean

value = CType(instance, ISelectionItemProvider).IsSelected
bool ISelectionItemProvider.IsSelected { get; }
private:
virtual property bool IsSelected {
    bool get () sealed = ISelectionItemProvider::IsSelected::get;
}
JScript does not support explicit interface implementations.

Property Value

Type: System.Boolean

true if the element is selected; otherwise false.

Implements

ISelectionItemProvider.IsSelected

See Also

Reference

ListBoxItemAutomationPeer Class

ListBoxItemAutomationPeer Members

System.Windows.Automation.Peers Namespace