DataGridCellItemAutomationPeer.ISelectionItemProvider.IsSelected Property

.NET Framework (current version)

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

Gets a value that indicates whether an item is selected.

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

bool ISelectionItemProvider.IsSelected { get; }

Property Value

Type: System.Boolean

true if the element is selected; otherwise, false.

This member is an explicit interface member implementation. It can be used only when the DataGridCellItemAutomationPeer instance is cast to an ISelectionItemProvider interface.

.NET Framework
Available since 4.0
Return to top