NumericBadgeAutomationPeer Class
Exposes NumericBadge types to UI Automation.
public class NumericBadgeAutomationPeer : BadgeAutomationPeer, IValueProvider
- Inheritance:
- object AutomationPeer ControlAutomationPeer ContentControlAutomationPeer BadgeAutomationPeer object
- Implements:
- IValueProvider
Remarks
The NumericBadge control is not focusable and cannot be interacted with, so it is not included
in the Content
or Control
views of the UI Automation Tree.
Constructors
NumericBadgeAutomationPeer(NumericBadge)
Initializes a new instance of the class.
public NumericBadgeAutomationPeer(NumericBadge owner)
Parameter | Type | Description |
---|---|---|
owner | NumericBadge | The owner. |
Properties
IsReadOnly
Gets a value that indicates whether the value of a control is read-only.
public bool IsReadOnly { get; }
Property Value
Remarks
Windows | IValueProvider.IsReadOnly |
macOS | No mapping. |
Value
Gets the value of the control.
public string? Value { get; }
Property Value
Remarks
Windows | IValueProvider.Value |
macOS | NSAccessibilityProtocol.accessibilityValue |
Methods
GetLocalizedControlTypeCore()
Gets a human-readable localized string that represents the type of the control that is associated with this automation peer.
protected override string GetLocalizedControlTypeCore()
Returns
Remarks
Windows | UIA_LocalizedControlTypePropertyId (not yet implemented) |
macOS | No mapping. |
Inherited Members
- BadgeAutomationPeer.GetAutomationControlTypeCore()
- BadgeAutomationPeer.GetClassNameCore()
- BadgeAutomationPeer.IsContentElementCore()
- BadgeAutomationPeer.IsControlElementCore()
- ContentControlAutomationPeer.GetNameCore()
- ContentControlAutomationPeer.Owner
- ControlAutomationPeer.GetOrCreate(Control)
- ControlAutomationPeer.CreatePeerForElement(Control)
- ControlAutomationPeer.FromElement(Control)
- ControlAutomationPeer.BringIntoViewCore()
- ControlAutomationPeer.GetOrCreateChildrenCore()
- ControlAutomationPeer.GetChildrenCore()
- ControlAutomationPeer.GetLabeledByCore()
- ControlAutomationPeer.GetHelpTextCore()
- ControlAutomationPeer.GetParentCore()
- ControlAutomationPeer.GetVisualRootCore()
- ControlAutomationPeer.InvalidateChildren()
- ControlAutomationPeer.InvalidateParent()
- ControlAutomationPeer.ShowContextMenuCore()
- ControlAutomationPeer.TrySetParent(AutomationPeer)
- ControlAutomationPeer.GetAcceleratorKeyCore()
- ControlAutomationPeer.GetAccessKeyCore()
- ControlAutomationPeer.GetAutomationIdCore()
- ControlAutomationPeer.GetBoundingRectangleCore()
- ControlAutomationPeer.HasKeyboardFocusCore()
- ControlAutomationPeer.IsEnabledCore()
- ControlAutomationPeer.IsKeyboardFocusableCore()
- ControlAutomationPeer.SetFocusCore()
- ControlAutomationPeer.GetControlTypeOverrideCore()
- ControlAutomationPeer.IsContentElementOverrideCore()
- ControlAutomationPeer.IsControlElementOverrideCore()
- ControlAutomationPeer.IsOffscreenCore()
- AutomationPeer.BringIntoView()
- AutomationPeer.GetAcceleratorKey()
- AutomationPeer.GetAccessKey()
- AutomationPeer.GetAutomationControlType()
- AutomationPeer.GetAutomationId()
- AutomationPeer.GetBoundingRectangle()
- AutomationPeer.GetChildren()
- AutomationPeer.GetClassName()
- AutomationPeer.GetLabeledBy()
- AutomationPeer.GetLocalizedControlType()
- AutomationPeer.GetName()
- AutomationPeer.GetHelpText()
- AutomationPeer.GetParent()
- AutomationPeer.GetVisualRoot()
- AutomationPeer.HasKeyboardFocus()
- AutomationPeer.IsContentElement()
- AutomationPeer.IsControlElement()
- AutomationPeer.IsEnabled()
- AutomationPeer.IsKeyboardFocusable()
- AutomationPeer.IsOffscreen()
- AutomationPeer.SetFocus()
- AutomationPeer.ShowContextMenu()
- AutomationPeer.GetProvider<T>()
- AutomationPeer.RaiseChildrenChangedEvent()
- AutomationPeer.RaisePropertyChangedEvent(AutomationProperty, object, object)
- AutomationPeer.GetProviderCore(Type)
- AutomationPeer.EnsureEnabled()
- AutomationPeer.ChildrenChanged
- AutomationPeer.PropertyChanged
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()