Share via


RibbonGalleryItemDataAutomationPeer.ISelectionItemProvider.RemoveFromSelection Method

Removes the RibbonGalleryItem that is associated with this RibbonGalleryItemDataAutomationPeer from the collection of selected items.

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

Syntax

'Declaration
Private Sub RemoveFromSelection Implements ISelectionItemProvider.RemoveFromSelection
void ISelectionItemProvider.RemoveFromSelection()
private:
virtual void RemoveFromSelection() sealed = ISelectionItemProvider::RemoveFromSelection
private abstract RemoveFromSelection : unit -> unit 
private override RemoveFromSelection : unit -> unit 
JScript does not support explicit interface implementations.

Implements

ISelectionItemProvider.RemoveFromSelection()

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