Show / Hide Table of Contents

Class RadioButtonAutomationPeer

Exposes RadioButton types to UI automation.

Inheritance
System.Object
DependencyObject
AutomationPeer
FrameworkElementAutomationPeer
ButtonBaseAutomationPeer
ToggleButtonAutomationPeer
RadioButtonAutomationPeer
Implements
IToggleProvider
ISelectionItemProvider
Inherited Members
ToggleButtonAutomationPeer.IToggleProvider.Toggle()
ToggleButtonAutomationPeer.IToggleProvider.ToggleState
ButtonBaseAutomationPeer.GetNameCore()
FrameworkElementAutomationPeer.Owner
FrameworkElementAutomationPeer.FromElement(UIElement)
FrameworkElementAutomationPeer.CreatePeerForElement(UIElement)
FrameworkElementAutomationPeer.GetAcceleratorKeyCore()
FrameworkElementAutomationPeer.GetAccessKeyCore()
FrameworkElementAutomationPeer.GetAutomationIdCore()
FrameworkElementAutomationPeer.GetHelpTextCore()
FrameworkElementAutomationPeer.GetItemStatusCore()
FrameworkElementAutomationPeer.GetItemTypeCore()
FrameworkElementAutomationPeer.GetLabeledByCore()
FrameworkElementAutomationPeer.IsRequiredForFormCore()
FrameworkElementAutomationPeer.GetChildrenCore()
FrameworkElementAutomationPeer.GetBoundingRectangleCore()
FrameworkElementAutomationPeer.GetClickablePointCore()
FrameworkElementAutomationPeer.IsContentElementCore()
FrameworkElementAutomationPeer.IsControlElementCore()
FrameworkElementAutomationPeer.IsPasswordCore()
FrameworkElementAutomationPeer.IsEnabledCore()
FrameworkElementAutomationPeer.GetLocalizedControlTypeCore()
FrameworkElementAutomationPeer.GetOrientationCore()
FrameworkElementAutomationPeer.HasKeyboardFocusCore()
FrameworkElementAutomationPeer.IsKeyboardFocusableCore()
FrameworkElementAutomationPeer.IsOffscreenCore()
FrameworkElementAutomationPeer.SetFocusCore()
AutomationPeer.EventsSource
AutomationPeer.ListenerExists(AutomationEvents)
AutomationPeer.GetAcceleratorKey()
AutomationPeer.GetAccessKey()
AutomationPeer.GetAutomationControlType()
AutomationPeer.GetAutomationId()
AutomationPeer.GetBoundingRectangle()
AutomationPeer.GetChildren()
AutomationPeer.GetClassName()
AutomationPeer.GetClickablePoint()
AutomationPeer.GetHelpText()
AutomationPeer.GetItemStatus()
AutomationPeer.GetItemType()
AutomationPeer.GetLabeledBy()
AutomationPeer.GetLocalizedControlType()
AutomationPeer.GetName()
AutomationPeer.GetOrientation()
AutomationPeer.HasKeyboardFocus()
AutomationPeer.IsContentElement()
AutomationPeer.IsControlElement()
AutomationPeer.IsEnabled()
AutomationPeer.IsKeyboardFocusable()
AutomationPeer.IsOffscreen()
AutomationPeer.IsPassword()
AutomationPeer.IsRequiredForForm()
AutomationPeer.SetFocus()
AutomationPeer.InvalidatePeer()
AutomationPeer.GetParent()
AutomationPeer.RaiseAutomationEvent(AutomationEvents)
AutomationPeer.RaisePropertyChangedEvent(AutomationProperty, Object, Object)
AutomationPeer.PeerFromProvider(IRawElementProviderSimple)
AutomationPeer.ProviderFromPeer(AutomationPeer)
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.INTERNAL_OnAttachedToVisualTree()
DependencyObject.INTERNAL_OnDetachedFromVisualTree()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Automation.Peers
Assembly: OpenSilver.dll
Syntax
public class RadioButtonAutomationPeer : ToggleButtonAutomationPeer, IDependencyObject, IToggleProvider, ISelectionItemProvider

Constructors

| Improve this Doc View Source

RadioButtonAutomationPeer(RadioButton)

Initializes a new instance of the RadioButtonAutomationPeer class.

Declaration
public RadioButtonAutomationPeer(RadioButton owner)
Parameters
Type Name Description
RadioButton owner

The RadioButton to associate with the RadioButtonAutomationPeer.

Methods

| Improve this Doc View Source

GetAutomationControlTypeCore()

This method is called by GetAutomationControlType().

Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type Description
AutomationControlType

A value of the enumeration.

Overrides
ToggleButtonAutomationPeer.GetAutomationControlTypeCore()
| Improve this Doc View Source

GetClassNameCore()

Gets the name of the class that is associated with this RadioButtonAutomationPeer. This method is called by GetClassName().

Declaration
protected override string GetClassNameCore()
Returns
Type Description
System.String

The class name.

Overrides
ToggleButtonAutomationPeer.GetClassNameCore()
| Improve this Doc View Source

GetPattern(PatternInterface)

Gets an object that supports the requested pattern, based on the patterns supported by this RadioButtonAutomationPeer.

Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
Type Name Description
PatternInterface patternInterface

One of the enumeration values.

Returns
Type Description
System.Object

The object that implements the pattern interface, or null if the specified pattern interface is not implemented by this peer.

Overrides
ToggleButtonAutomationPeer.GetPattern(PatternInterface)

Explicit Interface Implementations

| Improve this Doc View Source

ISelectionItemProvider.AddToSelection()

Adds current element to selection

Declaration
void ISelectionItemProvider.AddToSelection()
| Improve this Doc View Source

ISelectionItemProvider.IsSelected

Check whether an element is selected

Declaration
bool ISelectionItemProvider.IsSelected { get; }
Returns
Type Description
System.Boolean

returns true if the element is selected

| Improve this Doc View Source

ISelectionItemProvider.RemoveFromSelection()

Removes current element from selection

Declaration
void ISelectionItemProvider.RemoveFromSelection()
| Improve this Doc View Source

ISelectionItemProvider.Select()

Sets the current element as the selection This clears the selection from other elements in the container

Declaration
void ISelectionItemProvider.Select()
| Improve this Doc View Source

ISelectionItemProvider.SelectionContainer

The logical element that supports the SelectionPattern for this Item

Declaration
IRawElementProviderSimple ISelectionItemProvider.SelectionContainer { get; }
Returns
Type Description
IRawElementProviderSimple

returns an IRawElementProviderSimple

Implements

IToggleProvider
ISelectionItemProvider

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
  • Improve this Doc
  • View Source