In This Article

BarMenuGalleryAutomationPeer Class

Exposes BarMenuGallery types to UI Automation.

public class BarMenuGalleryAutomationPeer : BarGalleryBaseAutomationPeer
Inheritance:
object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer ItemsControlAutomationPeer SelectorAutomationPeer BarGalleryBaseAutomationPeer object

Constructors

BarMenuGalleryAutomationPeer(BarMenuGallery)

Initializes a new instance of the BarMenuGalleryAutomationPeer class.

public BarMenuGalleryAutomationPeer(BarMenuGallery owner)
Parameter Type Description
owner BarMenuGallery

The owner element.

Methods

GetChildrenCore()

Gets the collection of child elements of the ItemsControl that is associated with this ItemsControlAutomationPeer. This method is called by GetChildren().

protected override List<AutomationPeer> GetChildrenCore()

Returns

List<AutomationPeer>:

The collection of child elements.

GetLocalizedControlTypeCore()

When overridden in a derived class, is called by GetLocalizedControlType().

protected override string GetLocalizedControlTypeCore()

Returns

string:

The type of the control.

Inherited Members