Share via


RibbonGalleryItemDataAutomationPeer.ISelectionItemProvider.IsSelected Property

Gets a value that indicates whether the RibbonGalleryItem that is associated with this RibbonGalleryItemDataAutomationPeer is selected.

Namespace:  Microsoft.Windows.Automation.Peers
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Private ReadOnly Property IsSelected As Boolean
    Implements ISelectionItemProvider.IsSelected
bool ISelectionItemProvider.IsSelected { get; }
private:
virtual property bool IsSelected {
    bool get () sealed = ISelectionItemProvider::IsSelected::get;
}
private abstract IsSelected : bool
private override IsSelected : bool
JScript does not support explicit interface implementations.

Property Value

Type: System.Boolean
true if the RibbonGalleryItem that is associated with this RibbonGalleryItemDataAutomationPeer is selected; otherwise, false.

Implements

ISelectionItemProvider.IsSelected

Remarks

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

.NET Framework Security

See Also

Reference

RibbonGalleryItemDataAutomationPeer Class

Microsoft.Windows.Automation.Peers Namespace