AvatarGroupAutomationPeer Class
Exposes AvatarGroup types to UI Automation.
public class AvatarGroupAutomationPeer : ItemsControlAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer ItemsControlAutomationPeer object
Constructors
AvatarGroupAutomationPeer(AvatarGroup)
Initializes a new instance of the class.
public AvatarGroupAutomationPeer(AvatarGroup owner)
Parameter | Type | Description |
---|---|---|
owner | AvatarGroup | The owner element. |
Methods
CreateItemAutomationPeer(object)
When overridden in a derived class, creates a new instance of the ItemAutomationPeer for a data item in the Items collection of this ItemsControl.
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
Parameter | Type | Description |
---|---|---|
item | object | The data item that is associated with this ItemAutomationPeer. |
Returns
- ItemAutomationPeer:
The new ItemAutomationPeer created.
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().