DateTimeAutomationPeer DateTimeAutomationPeer DateTimeAutomationPeer DateTimeAutomationPeer Class

Definition

Exposes CalendarDayButton and CalendarButton types to UI Automation.

public ref class DateTimeAutomationPeer sealed : System::Windows::Automation::Peers::AutomationPeer, System::Windows::Automation::Provider::IInvokeProvider, System::Windows::Automation::Provider::ISelectionItemProvider, System::Windows::Automation::Provider::ITableItemProvider, System::Windows::Automation::Provider::IVirtualizedItemProvider
public sealed class DateTimeAutomationPeer : System.Windows.Automation.Peers.AutomationPeer, System.Windows.Automation.Provider.IInvokeProvider, System.Windows.Automation.Provider.ISelectionItemProvider, System.Windows.Automation.Provider.ITableItemProvider, System.Windows.Automation.Provider.IVirtualizedItemProvider
type DateTimeAutomationPeer = class
    inherit AutomationPeer
    interface IGridItemProvider
    interface ISelectionItemProvider
    interface ITableItemProvider
    interface IInvokeProvider
    interface IVirtualizedItemProvider
Public NotInheritable Class DateTimeAutomationPeer
Inherits AutomationPeer
Implements IInvokeProvider, ISelectionItemProvider, ITableItemProvider, IVirtualizedItemProvider
Inheritance
Implements

Methods

CheckAccess() CheckAccess() CheckAccess() CheckAccess()

Determines whether the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetAcceleratorKey() GetAcceleratorKey() GetAcceleratorKey() GetAcceleratorKey()

Gets the accelerator key combinations for the element that is associated with the UI Automation peer.

(Inherited from AutomationPeer)
GetAcceleratorKeyCore() GetAcceleratorKeyCore() GetAcceleratorKeyCore() GetAcceleratorKeyCore()

When overridden in a derived class, is called by GetAcceleratorKey().

(Inherited from AutomationPeer)
GetAccessKey() GetAccessKey() GetAccessKey() GetAccessKey()

Gets the access key for the element that is associated with the automation peer.

(Inherited from AutomationPeer)
GetAccessKeyCore() GetAccessKeyCore() GetAccessKeyCore() GetAccessKeyCore()

When overridden in a derived class, is called by GetAccessKey().

(Inherited from AutomationPeer)
GetAutomationControlType() GetAutomationControlType() GetAutomationControlType() GetAutomationControlType()

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

(Inherited from AutomationPeer)
GetAutomationControlTypeCore() GetAutomationControlTypeCore() GetAutomationControlTypeCore() GetAutomationControlTypeCore()

When overridden in a derived class, is called by GetAutomationControlType().

(Inherited from AutomationPeer)
GetAutomationId() GetAutomationId() GetAutomationId() GetAutomationId()

Gets the AutomationId of the element that is associated with the automation peer.

(Inherited from AutomationPeer)
GetAutomationIdCore() GetAutomationIdCore() GetAutomationIdCore() GetAutomationIdCore()

When overridden in a derived class, is called by GetAutomationId().

(Inherited from AutomationPeer)
GetBoundingRectangle() GetBoundingRectangle() GetBoundingRectangle() GetBoundingRectangle()

Gets the Rect object that represents the screen coordinates of the element that is associated with the automation peer.

(Inherited from AutomationPeer)
GetBoundingRectangleCore() GetBoundingRectangleCore() GetBoundingRectangleCore() GetBoundingRectangleCore()

When overridden in a derived class, is called by GetBoundingRectangle().

(Inherited from AutomationPeer)
GetChildren() GetChildren() GetChildren() GetChildren()

Gets the collection of GetChildren() elements that are represented in the UI Automation tree as immediate child elements of the automation peer.

(Inherited from AutomationPeer)
GetChildrenCore() GetChildrenCore() GetChildrenCore() GetChildrenCore()

When overridden in a derived class, is called by GetChildren().

(Inherited from AutomationPeer)
GetClassName() GetClassName() GetClassName() GetClassName()

Gets a name that is used with AutomationControlType, to differentiate the control that is represented by this AutomationPeer.

(Inherited from AutomationPeer)
GetClassNameCore() GetClassNameCore() GetClassNameCore() GetClassNameCore()

When overridden in a derived class, is called by GetClassName().

(Inherited from AutomationPeer)
GetClickablePoint() GetClickablePoint() GetClickablePoint() GetClickablePoint()

Gets a Point on the element that is associated with the automation peer that responds to a mouse click.

(Inherited from AutomationPeer)
GetClickablePointCore() GetClickablePointCore() GetClickablePointCore() GetClickablePointCore()

When overridden in a derived class, is called by GetClickablePoint().

(Inherited from AutomationPeer)
GetControlledPeers() GetControlledPeers() GetControlledPeers() GetControlledPeers()

Provides UI Automation with a list of elements affected or controlled by this AutomationPeer.

(Inherited from AutomationPeer)
GetControlledPeersCore() GetControlledPeersCore() GetControlledPeersCore() GetControlledPeersCore()

When overridden in a derived class, provides UI Automation with a list of elements affected or controlled by this AutomationPeer.

(Inherited from AutomationPeer)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetHelpText() GetHelpText() GetHelpText() GetHelpText()

Gets text that describes the functionality of the control that is associated with the automation peer.

(Inherited from AutomationPeer)
GetHelpTextCore() GetHelpTextCore() GetHelpTextCore() GetHelpTextCore()

When overridden in a derived class, is called by GetHelpText().

(Inherited from AutomationPeer)
GetHostRawElementProviderCore() GetHostRawElementProviderCore() GetHostRawElementProviderCore() GetHostRawElementProviderCore()

Tells UI Automation where in the UI Automation tree to place the hwnd being hosted by a Windows Presentation Foundation (WPF) element.

(Inherited from AutomationPeer)
GetItemStatus() GetItemStatus() GetItemStatus() GetItemStatus()

Gets text that conveys the visual status of the element that is associated with this automation peer.

(Inherited from AutomationPeer)
GetItemStatusCore() GetItemStatusCore() GetItemStatusCore() GetItemStatusCore()

When overridden in a derived class, is called by GetItemStatus().

(Inherited from AutomationPeer)
GetItemType() GetItemType() GetItemType() GetItemType()

Gets a string that describes what kind of item an object represents.

(Inherited from AutomationPeer)
GetItemTypeCore() GetItemTypeCore() GetItemTypeCore() GetItemTypeCore()

When overridden in a derived class, is called by GetItemType().

(Inherited from AutomationPeer)
GetLabeledBy() GetLabeledBy() GetLabeledBy() GetLabeledBy()

Gets the AutomationPeer for the Label that is targeted to the element.

(Inherited from AutomationPeer)
GetLabeledByCore() GetLabeledByCore() GetLabeledByCore() GetLabeledByCore()

When overridden in a derived class, is called by GetLabeledBy().

(Inherited from AutomationPeer)
GetLiveSetting() GetLiveSetting() GetLiveSetting() GetLiveSetting()

Gets the notification characteristics of a live region that is associated with this automation peer.

(Inherited from AutomationPeer)
GetLiveSettingCore() GetLiveSettingCore() GetLiveSettingCore() GetLiveSettingCore()

When overridden in a derived class, returns the notification characteristics of a live region. Called by the GetLiveSetting() method.

(Inherited from AutomationPeer)
GetLocalizedControlType() GetLocalizedControlType() GetLocalizedControlType() GetLocalizedControlType()

Gets a human-readable localized string that represents the AutomationControlType value for the control that is associated with this automation peer.

(Inherited from AutomationPeer)
GetLocalizedControlTypeCore() GetLocalizedControlTypeCore() GetLocalizedControlTypeCore() GetLocalizedControlTypeCore()

When overridden in a derived class, is called by GetLocalizedControlType().

(Inherited from AutomationPeer)
GetName() GetName() GetName() GetName()

Gets text that describes the element that is associated with this automation peer.

(Inherited from AutomationPeer)
GetNameCore() GetNameCore() GetNameCore() GetNameCore()

When overridden in a derived class, is called by GetName().

(Inherited from AutomationPeer)
GetOrientation() GetOrientation() GetOrientation() GetOrientation()

Gets a value that indicates the explicit control orientation, if any.

(Inherited from AutomationPeer)
GetOrientationCore() GetOrientationCore() GetOrientationCore() GetOrientationCore()

When overridden in a derived class, is called by GetOrientation().

(Inherited from AutomationPeer)
GetParent() GetParent() GetParent() GetParent()

Gets the AutomationPeer that is the parent of this AutomationPeer.

(Inherited from AutomationPeer)
GetPattern(PatternInterface) GetPattern(PatternInterface) GetPattern(PatternInterface) GetPattern(PatternInterface)

Gets the control pattern implementation for this DateTimeAutomationPeer.

GetPeerFromPoint(Point) GetPeerFromPoint(Point) GetPeerFromPoint(Point) GetPeerFromPoint(Point)

Gets an AutomationPeer from the specified point.

(Inherited from AutomationPeer)
GetPeerFromPointCore(Point) GetPeerFromPointCore(Point) GetPeerFromPointCore(Point) GetPeerFromPointCore(Point)

When overridden in a derived class, is called from GetPeerFromPoint(Point).

(Inherited from AutomationPeer)
GetPositionInSet() GetPositionInSet() GetPositionInSet() GetPositionInSet()

Attempts to get the value of the PositionInSet property.

(Inherited from AutomationPeer)
GetPositionInSetCore() GetPositionInSetCore() GetPositionInSetCore() GetPositionInSetCore()

When overridden in a derived class, provides UI Automation with a one-based integer value that describes the position this element occupies in a group or set.

(Inherited from AutomationPeer)
GetSizeOfSet() GetSizeOfSet() GetSizeOfSet() GetSizeOfSet()

Attempts to get the value of the SizeOfSet property.

(Inherited from AutomationPeer)
GetSizeOfSetCore() GetSizeOfSetCore() GetSizeOfSetCore() GetSizeOfSetCore()

When overridden in a derived class, provides UI Automation with the size of the group or set that this element belongs to.

(Inherited from AutomationPeer)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
HasKeyboardFocus() HasKeyboardFocus() HasKeyboardFocus() HasKeyboardFocus()

Gets a value that indicates whether the element that is associated with this automation peer currently has keyboard focus.

(Inherited from AutomationPeer)
HasKeyboardFocusCore() HasKeyboardFocusCore() HasKeyboardFocusCore() HasKeyboardFocusCore()

When overridden in a derived class, is called by HasKeyboardFocus().

(Inherited from AutomationPeer)
InvalidatePeer() InvalidatePeer() InvalidatePeer() InvalidatePeer()

Triggers recalculation of the main properties of the AutomationPeer and raises the PropertyChanged notification to the Automation Client if the properties changed.

(Inherited from AutomationPeer)
IsContentElement() IsContentElement() IsContentElement() IsContentElement()

Gets a value that indicates whether the element that is associated with this automation peer contains data that is presented to the user.

(Inherited from AutomationPeer)
IsContentElementCore() IsContentElementCore() IsContentElementCore() IsContentElementCore()

When overridden in a derived class, is called by IsContentElement().

(Inherited from AutomationPeer)
IsControlElement() IsControlElement() IsControlElement() IsControlElement()

Gets a value that indicates whether the element is understood by the user as interactive or as contributing to the logical structure of the control in the GUI.

(Inherited from AutomationPeer)
IsControlElementCore() IsControlElementCore() IsControlElementCore() IsControlElementCore()

When overridden in a derived class, is called by IsControlElement().

(Inherited from AutomationPeer)
IsEnabled() IsEnabled() IsEnabled() IsEnabled()

Gets a value that indicates whether the element associated with this automation peer supports interaction.

(Inherited from AutomationPeer)
IsEnabledCore() IsEnabledCore() IsEnabledCore() IsEnabledCore()

When overridden in a derived class, is called by IsEnabled().

(Inherited from AutomationPeer)
IsKeyboardFocusable() IsKeyboardFocusable() IsKeyboardFocusable() IsKeyboardFocusable()

Gets a value that indicates whether the element can accept keyboard focus.

(Inherited from AutomationPeer)
IsKeyboardFocusableCore() IsKeyboardFocusableCore() IsKeyboardFocusableCore() IsKeyboardFocusableCore()

When overridden in a derived class, is called by IsKeyboardFocusable().

(Inherited from AutomationPeer)
IsOffscreen() IsOffscreen() IsOffscreen() IsOffscreen()

Gets a value that indicates whether an element is off the screen.

(Inherited from AutomationPeer)
IsOffscreenCore() IsOffscreenCore() IsOffscreenCore() IsOffscreenCore()

When overridden in a derived class, is called by IsOffscreen().

(Inherited from AutomationPeer)
IsPassword() IsPassword() IsPassword() IsPassword()

Gets a value that indicates whether the element contains sensitive content.

(Inherited from AutomationPeer)
IsPasswordCore() IsPasswordCore() IsPasswordCore() IsPasswordCore()

When overridden in a derived class, is called by IsPassword().

(Inherited from AutomationPeer)
IsRequiredForForm() IsRequiredForForm() IsRequiredForForm() IsRequiredForForm()

Gets a value that indicates whether the element that is associated with this peer must be completed on a form.

(Inherited from AutomationPeer)
IsRequiredForFormCore() IsRequiredForFormCore() IsRequiredForFormCore() IsRequiredForFormCore()

When overridden in a derived class, is called by IsRequiredForForm().

(Inherited from AutomationPeer)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
PeerFromProvider(IRawElementProviderSimple) PeerFromProvider(IRawElementProviderSimple) PeerFromProvider(IRawElementProviderSimple) PeerFromProvider(IRawElementProviderSimple)

Gets an AutomationPeer for the specified IRawElementProviderSimple proxy.

(Inherited from AutomationPeer)
ProviderFromPeer(AutomationPeer) ProviderFromPeer(AutomationPeer) ProviderFromPeer(AutomationPeer) ProviderFromPeer(AutomationPeer)

Gets the IRawElementProviderSimple for the specified AutomationPeer.

(Inherited from AutomationPeer)
RaiseAsyncContentLoadedEvent(AsyncContentLoadedEventArgs) RaiseAsyncContentLoadedEvent(AsyncContentLoadedEventArgs) RaiseAsyncContentLoadedEvent(AsyncContentLoadedEventArgs) RaiseAsyncContentLoadedEvent(AsyncContentLoadedEventArgs)

Called by the AutomationPeer to raise the AsyncContentLoadedEvent event.

(Inherited from AutomationPeer)
RaiseAutomationEvent(AutomationEvents) RaiseAutomationEvent(AutomationEvents) RaiseAutomationEvent(AutomationEvents) RaiseAutomationEvent(AutomationEvents)

Raises an automation event.

(Inherited from AutomationPeer)
RaisePropertyChangedEvent(AutomationProperty, Object, Object) RaisePropertyChangedEvent(AutomationProperty, Object, Object) RaisePropertyChangedEvent(AutomationProperty, Object, Object) RaisePropertyChangedEvent(AutomationProperty, Object, Object)

Raises an event to notify the automation client of a changed property value.

(Inherited from AutomationPeer)
ResetChildrenCache() ResetChildrenCache() ResetChildrenCache() ResetChildrenCache()

Synchronously resets the tree of child elements by calling GetChildrenCore().

(Inherited from AutomationPeer)
SetFocus() SetFocus() SetFocus() SetFocus()

Sets the keyboard focus on the element that is associated with this automation peer.

(Inherited from AutomationPeer)
SetFocusCore() SetFocusCore() SetFocusCore() SetFocusCore()

When overridden in a derived class, is called by SetFocus().

(Inherited from AutomationPeer)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
VerifyAccess() VerifyAccess() VerifyAccess() VerifyAccess()

Enforces that the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)

Explicit Interface Implementations

IGridItemProvider.Column IGridItemProvider.Column IGridItemProvider.Column IGridItemProvider.Column

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

IGridItemProvider.ColumnSpan IGridItemProvider.ColumnSpan IGridItemProvider.ColumnSpan IGridItemProvider.ColumnSpan

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

IGridItemProvider.ContainingGrid IGridItemProvider.ContainingGrid IGridItemProvider.ContainingGrid IGridItemProvider.ContainingGrid

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

IGridItemProvider.Row IGridItemProvider.Row IGridItemProvider.Row IGridItemProvider.Row

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

IGridItemProvider.RowSpan IGridItemProvider.RowSpan IGridItemProvider.RowSpan IGridItemProvider.RowSpan

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

IInvokeProvider.Invoke() IInvokeProvider.Invoke() IInvokeProvider.Invoke() IInvokeProvider.Invoke()

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

ISelectionItemProvider.AddToSelection() ISelectionItemProvider.AddToSelection() ISelectionItemProvider.AddToSelection() ISelectionItemProvider.AddToSelection()

Adds the current element to the collection of selected items.

ISelectionItemProvider.IsSelected ISelectionItemProvider.IsSelected ISelectionItemProvider.IsSelected ISelectionItemProvider.IsSelected

Gets a value that indicates whether an item is selected.

ISelectionItemProvider.RemoveFromSelection() ISelectionItemProvider.RemoveFromSelection() ISelectionItemProvider.RemoveFromSelection() ISelectionItemProvider.RemoveFromSelection()

Removes the current element from the collection of selected items.

ISelectionItemProvider.Select() ISelectionItemProvider.Select() ISelectionItemProvider.Select() ISelectionItemProvider.Select()

Clears any selected items and then selects the current element.

ISelectionItemProvider.SelectionContainer ISelectionItemProvider.SelectionContainer ISelectionItemProvider.SelectionContainer ISelectionItemProvider.SelectionContainer

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

ITableItemProvider.GetColumnHeaderItems() ITableItemProvider.GetColumnHeaderItems() ITableItemProvider.GetColumnHeaderItems() ITableItemProvider.GetColumnHeaderItems()

Retrieves a collection of UI Automation providers that represents all the column headers associated with a table item or cell.

ITableItemProvider.GetRowHeaderItems() ITableItemProvider.GetRowHeaderItems() ITableItemProvider.GetRowHeaderItems() ITableItemProvider.GetRowHeaderItems()

Retrieves a collection of UI Automation providers that represents all the row headers associated with a table item or cell.

IVirtualizedItemProvider.Realize() IVirtualizedItemProvider.Realize() IVirtualizedItemProvider.Realize() IVirtualizedItemProvider.Realize()

Makes the virtual item fully accessible as a UI Automation element.

Properties

Dispatcher Dispatcher Dispatcher Dispatcher

Gets the Dispatcher this DispatcherObject is associated with.

(Inherited from DispatcherObject)
EventsSource EventsSource EventsSource EventsSource

Gets or sets an AutomationPeer that is reported to the automation client as a source for all the events that come from this AutomationPeer.

(Inherited from AutomationPeer)
IsHwndHost IsHwndHost IsHwndHost IsHwndHost

Gets a value that indicates whether the element that is associated with this AutomationPeer hosts hwnds in Windows Presentation Foundation (WPF).

(Inherited from AutomationPeer)

Applies to