CollapsedRegionAdornmentAutomationPeer Class
Exposes CollapsedRegionAdornment type instances to UI Automation.
public class CollapsedRegionAdornmentAutomationPeer : FrameworkElementAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer object
Constructors
CollapsedRegionAdornmentAutomationPeer(CollapsedRegionAdornment)
Initializes a new instance of the CollapsedRegionAdornmentAutomationPeer
class.
public CollapsedRegionAdornmentAutomationPeer(CollapsedRegionAdornment owner)
Parameter | Type | Description |
---|---|---|
owner | CollapsedRegionAdornment | The owner element. |
Methods
GetAutomationControlTypeCore()
Gets the control type for the element that is associated with the UI Automation peer.
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
- AutomationControlType:
The control type.
GetAutomationIdCore()
Gets the string that uniquely identifies the FrameworkElement
that is associated with this FrameworkElementAutomationPeer
.
protected override string GetAutomationIdCore()
Returns
- string:
The string that uniquely identifies the
FrameworkElement
that is associated with thisFrameworkElementAutomationPeer
.
GetChildrenCore()
Returns the child UI Automation peers.
protected override List<AutomationPeer> GetChildrenCore()
Returns
- List<AutomationPeer>:
The child UI Automation peers.
GetClassNameCore()
Gets a name that is used with AutomationControlType
, to differentiate the control that is represented by this AutomationPeer
.
GetItemStatusCore()
Gets text that conveys the visual status of the object that is associated with this automation peer.
protected override string GetItemStatusCore()
Returns
- string:
Text that conveys the visual status of the object that is associated with this automation peer.
GetLocalizedControlTypeCore()
Gets a localized string that represents the AutomationControlType
value for the control that is associated with this automation peer.
GetNameCore()
Gets the value that the automation peer reports as the UI Automation name for the associated control.
protected override string GetNameCore()
Returns
- string:
The value that the automation peer reports as the UI Automation name for the associated control.