Show / Hide Table of Contents

Class CalendarButtonAutomationPeer

Exposes CalendarButton types to UI automation.

Inheritance
System.Object
DependencyObject
AutomationPeer
FrameworkElementAutomationPeer
CalendarButtonAutomationPeer
Implements
IGridItemProvider
IInvokeProvider
ISelectionItemProvider
Inherited Members
FrameworkElementAutomationPeer.Owner
FrameworkElementAutomationPeer.FromElement(UIElement)
FrameworkElementAutomationPeer.CreatePeerForElement(UIElement)
FrameworkElementAutomationPeer.GetAcceleratorKeyCore()
FrameworkElementAutomationPeer.GetAccessKeyCore()
FrameworkElementAutomationPeer.GetAutomationIdCore()
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 CalendarButtonAutomationPeer : FrameworkElementAutomationPeer, IDependencyObject, IGridItemProvider, IInvokeProvider, ISelectionItemProvider

Constructors

| Improve this Doc View Source

CalendarButtonAutomationPeer(CalendarButton)

Initializes a new instance of the CalendarButtonAutomationPeer class.

Declaration
public CalendarButtonAutomationPeer(CalendarButton owner)
Parameters
Type Name Description
CalendarButton owner

The CalendarButton to associate with this AutomationPeer.

Methods

| Improve this Doc View Source

GetAutomationControlTypeCore()

Returns the control type for the CalendarButton that is associated with this CalendarButtonAutomationPeer. This method is called by GetAutomationControlType.

Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type Description
AutomationControlType

A value of the AutomationControlType enumeration.

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

GetClassNameCore()

Returns the name of the CalendarButton that is associated with this CalendarButtonAutomationPeer. This method is called by GetClassName.

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

The name of the owner type that is associated with this CalendarButtonAutomationPeer.

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

GetHelpTextCore()

Returns the string that describes the functionality of the CalendarButton that is associated with this CalendarButtonAutomationPeer. This method is called by GetHelpText.

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

The help text, or String.Empty if there is no help text.

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

GetLocalizedControlTypeCore()

Returns the localized version of the control type for the owner type that is associated with this CalendarButtonAutomationPeer.

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

The string that contains the type of control.

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

GetNameCore()

Returns the text label of the CalendarButton that is associated with this CalendarButtonAutomationPeer. This method is called by GetName.

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

The text label of the element that is associated with this automation peer.

Overrides
FrameworkElementAutomationPeer.GetNameCore()
Remarks

The name property can be thought of as the string of text that a user would use to explain which control is being referred to. It is important to have a textual representation for all controls in the graphical user interface (GUI) so that you can programmatically refer to the control in a localized manner. The value is settable on control instances through the AutomationProperties.Name attached property.

| Improve this Doc View Source

GetPattern(PatternInterface)

Gets the control pattern for this CalendarButtonAutomationPeer.

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

IGridItemProvider.Column

Gets the ordinal number of the column that contains the cell or item.

Declaration
int IGridItemProvider.Column { get; }
Returns
Type Description
System.Int32

A zero-based ordinal number that identifies the column that contains the cell or item.

| Improve this Doc View Source

IGridItemProvider.ColumnSpan

Gets the number of columns that are spanned by a cell or item.

Declaration
int IGridItemProvider.ColumnSpan { get; }
Returns
Type Description
System.Int32

The number of columns spanned.

| Improve this Doc View Source

IGridItemProvider.ContainingGrid

Gets a UI Automation provider that implements IGridProvider and that represents the container of the cell or item.

Declaration
IRawElementProviderSimple IGridItemProvider.ContainingGrid { get; }
Returns
Type Description
IRawElementProviderSimple
| Improve this Doc View Source

IGridItemProvider.Row

Gets the ordinal number of the row that contains the cell or item.

Declaration
int IGridItemProvider.Row { get; }
Returns
Type Description
System.Int32

A zero-based ordinal number that identifies the row that contains the cell or item.

| Improve this Doc View Source

IGridItemProvider.RowSpan

Gets the number of rows that are spanned by a cell or item.

Declaration
int IGridItemProvider.RowSpan { get; }
Returns
Type Description
System.Int32

The number of rows that are spanned.

| Improve this Doc View Source

IInvokeProvider.Invoke()

Sends a request to activate the control and initiate its single, unambiguous action.

Declaration
void IInvokeProvider.Invoke()
| Improve this Doc View Source

ISelectionItemProvider.AddToSelection()

Adds the current element to the collection of selected items.

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

ISelectionItemProvider.IsSelected

Gets a value indicating whether an item is selected.

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

True if the element is selected; otherwise, false.

| Improve this Doc View Source

ISelectionItemProvider.RemoveFromSelection()

Removes the current element from the collection of selected items.

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

ISelectionItemProvider.Select()

Clears any existing selection and then selects the current element.

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

ISelectionItemProvider.SelectionContainer

Gets the UI Automation provider that implements ISelectionProvider and that acts as the container for the calling object.

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

The provider that supports ISelectionProvider.

Implements

IGridItemProvider
IInvokeProvider
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