BarToggleButtonAutomationPeer Class
Exposes BarToggleButton types to UI Automation.
public class BarToggleButtonAutomationPeer : BarButtonAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer ButtonBaseAutomationPeer ButtonAutomationPeer BarButtonAutomationPeer object
- Derived:
- BarCheckBoxAutomationPeer
Constructors
BarToggleButtonAutomationPeer(BarToggleButton)
Initializes a new instance of the BarToggleButtonAutomationPeer class.
public BarToggleButtonAutomationPeer(BarToggleButton owner)
Parameter | Type | Description |
---|---|---|
owner | BarToggleButton | The owner element. |
Methods
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by GetLocalizedControlType().
GetPattern(PatternInterface)
Gets the object that supports the specified control pattern of the element that is associated with this automation peer.
public override object GetPattern(PatternInterface patternInterface)
Parameter | Type | Description |
---|---|---|
patternInterface | PatternInterface | A value in the enumeration. |