Show / Hide Table of Contents

Class DatePickerAutomationPeer

Exposes DatePicker types to UI automation.

Inheritance
System.Object
DependencyObject
AutomationPeer
FrameworkElementAutomationPeer
DatePickerAutomationPeer
Implements
IExpandCollapseProvider
IValueProvider
Inherited Members
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.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.Controls.dll
Syntax
public class DatePickerAutomationPeer : FrameworkElementAutomationPeer, IDependencyObject, IExpandCollapseProvider, IValueProvider

Constructors

| Improve this Doc View Source

DatePickerAutomationPeer(DatePicker)

Initializes a new instance of the DatePickerAutomationPeer class.

Declaration
public DatePickerAutomationPeer(DatePicker owner)
Parameters
Type Name Description
DatePicker owner

The DatePicker to associate with the DatePickerAutomationPeer.

Methods

| Improve this Doc View Source

GetAutomationControlTypeCore()

Gets the control type for the element that is associated with the UI Automation peer.

Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type Description
AutomationControlType

The control type.

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

GetClassNameCore()

Called by GetClassName that gets a human readable name that, in addition to AutomationControlType, differentiates the control represented by this AutomationPeer.

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

The string that contains the name.

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

GetLocalizedControlTypeCore()

Overrides the GetLocalizedControlTypeCore method for DatePicker.

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

Inherited code: Requires comment.

Overrides
FrameworkElementAutomationPeer.GetLocalizedControlTypeCore()
| Improve this Doc View Source

GetNameCore()

Inherited code: Requires comment.

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

Inherited code: Requires comment 1.

Overrides
FrameworkElementAutomationPeer.GetNameCore()
| Improve this Doc View Source

GetPattern(PatternInterface)

Gets the control pattern for the DatePicker that is associated with this DatePickerAutomationPeer.

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
FrameworkElementAutomationPeer.GetPattern(PatternInterface)

Explicit Interface Implementations

| Improve this Doc View Source

IExpandCollapseProvider.Collapse()

Hides all nodes, controls, or content that are descendants of the control.

Declaration
void IExpandCollapseProvider.Collapse()
| Improve this Doc View Source

IExpandCollapseProvider.Expand()

Displays all child nodes, controls, or content of the control.

Declaration
void IExpandCollapseProvider.Expand()
| Improve this Doc View Source

IExpandCollapseProvider.ExpandCollapseState

Gets the state, expanded or collapsed, of the control.

Declaration
ExpandCollapseState IExpandCollapseProvider.ExpandCollapseState { get; }
Returns
Type Description
ExpandCollapseState

The state, expanded or collapsed, of the control.

| Improve this Doc View Source

IValueProvider.IsReadOnly

Gets a value indicating whether the value of a control is read-only.

Declaration
bool IValueProvider.IsReadOnly { get; }
Returns
Type Description
System.Boolean

Returns false.

| Improve this Doc View Source

IValueProvider.SetValue(String)

Sets the value of a control.

Declaration
void IValueProvider.SetValue(string value)
Parameters
Type Name Description
System.String value

The value to set. The provider is responsible for converting the value to the appropriate data type.

| Improve this Doc View Source

IValueProvider.Value

Gets the value of the control.

Declaration
string IValueProvider.Value { get; }
Returns
Type Description
System.String

The value of the control as a string.

Implements

IExpandCollapseProvider
IValueProvider

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