SettingsGroupAutomationPeer Class
Exposes SettingsGroup types to UI Automation.
public class SettingsGroupAutomationPeer : ItemsControlAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer ItemsControlAutomationPeer object
Constructors
SettingsGroupAutomationPeer(SettingsGroup)
Initializes a new instance of the class.
public SettingsGroupAutomationPeer(SettingsGroup owner)
Parameter | Type | Description |
---|---|---|
owner | SettingsGroup | The owner. |
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.
GetAutomationControlTypeCore()
Gets the control type for the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetAutomationControlType().
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
- AutomationControlType:
The Custom enumeration value.
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by GetLocalizedControlType().