Partager via


CalendarAutomationPeer Class

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Exposes Calendar types to UI automation.

Inheritance Hierarchy

System.Object
  System.Windows.DependencyObject
    System.Windows.Automation.Peers.AutomationPeer
      System.Windows.Automation.Peers.FrameworkElementAutomationPeer
        System.Windows.Automation.Peers.CalendarAutomationPeer

Namespace:  System.Windows.Automation.Peers
Assembly:  System.Windows.Controls (in System.Windows.Controls.dll)

Syntax

'Declaration
Public Class CalendarAutomationPeer _
    Inherits FrameworkElementAutomationPeer _
    Implements IMultipleViewProvider, ISelectionProvider, ITableProvider, IGridProvider
public class CalendarAutomationPeer : FrameworkElementAutomationPeer, 
    IMultipleViewProvider, ISelectionProvider, ITableProvider, IGridProvider

The CalendarAutomationPeer type exposes the following members.

Constructors

  Name Description
Public method CalendarAutomationPeer Initializes a new instance of the CalendarAutomationPeer class.

Top

Properties

  Name Description
Public property Dispatcher Gets the Dispatcher this object is associated with. (Inherited from DependencyObject.)
Public property 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.)
Public property Owner Gets the UIElement that is associated with this FrameworkElementAutomationPeer. (Inherited from FrameworkElementAutomationPeer.)

Top

Methods

  Name Description
Public method CheckAccess Determines whether the calling thread has access to this object. (Inherited from DependencyObject.)
Public method ClearValue Clears the local value of a dependency property. (Inherited from DependencyObject.)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAcceleratorKey Gets the accelerator key combination for the object that is associated with the UI Automation peer. (Inherited from AutomationPeer.)
Protected method GetAcceleratorKeyCore Returns the accelerator key for the UIElement that is associated with this FrameworkElementAutomationPeer. This method is called by GetAcceleratorKey. (Inherited from FrameworkElementAutomationPeer.)
Public method GetAccessKey Gets the access key for the object that is associated with the automation peer. (Inherited from AutomationPeer.)
Protected method GetAccessKeyCore Returns the access key for the UIElement that is associated with this FrameworkElementAutomationPeer. This method is called by GetAccessKey. (Inherited from FrameworkElementAutomationPeer.)
Public method GetAnimationBaseValue Returns any base value established for a Silverlight dependency property, which would apply in cases where an animation is not active. (Inherited from DependencyObject.)
Public method GetAutomationControlType Gets the control type for the object that is associated with the UI Automation peer. (Inherited from AutomationPeer.)
Protected method GetAutomationControlTypeCore Gets the control type for the element that is associated with this CalendarAutomationPeer. This method is called by GetAutomationControlType. (Overrides FrameworkElementAutomationPeer.GetAutomationControlTypeCore().)
Public method GetAutomationId Gets the AutomationId of the object that is associated with the automation peer. (Inherited from AutomationPeer.)
Protected method GetAutomationIdCore Returns the string that uniquely identifies the FrameworkElement that is associated with this FrameworkElementAutomationPeer. This method is called by GetAutomationId. (Inherited from FrameworkElementAutomationPeer.)
Public method GetBoundingRectangle Gets the Rect object that represents the screen coordinates of the element that is associated with the automation peer. (Inherited from AutomationPeer.)
Protected method GetBoundingRectangleCore Returns the Rect that represents the bounding rectangle of the UIElement that is associated with this FrameworkElementAutomationPeer. This method is called by GetBoundingRectangle. (Inherited from FrameworkElementAutomationPeer.)
Public method GetChildren Gets the collection of child elements that are represented in the UI Automation tree as immediate child elements of the automation peer. (Inherited from AutomationPeer.)
Protected method GetChildrenCore Returns the collection of child elements of the UIElement that is associated with this FrameworkElementAutomationPeer. This method is called by GetChildren. (Inherited from FrameworkElementAutomationPeer.)
Public method GetClassName Gets the name of the control class that is associated with the peer. (Inherited from AutomationPeer.)
Protected method GetClassNameCore Gets the name of the class that is associated with this CalendarAutomationPeer. This method is called by GetClassName. (Overrides FrameworkElementAutomationPeer.GetClassNameCore().)
Public method GetClickablePoint Gets a Point on the object that is associated with the automation peer that responds to a mouse click. (Inherited from AutomationPeer.)
Protected method GetClickablePointCore Returns a Point that represents the clickable space that is on the UIElement that is associated with this FrameworkElementAutomationPeer. This method is called by GetClickablePoint. (Inherited from FrameworkElementAutomationPeer.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetHelpText Gets text that describes the functionality of the control that is associated with the automation peer. (Inherited from AutomationPeer.)
Protected method GetHelpTextCore Returns the string that describes the functionality of the FrameworkElement that is associated with this FrameworkElementAutomationPeer. This method is called by GetHelpText. (Inherited from FrameworkElementAutomationPeer.)
Public method GetItemStatus Gets text that conveys the visual status of the object that is associated with this automation peer. (Inherited from AutomationPeer.)
Protected method GetItemStatusCore Returns a string that communicates the visual status of the UIElement that is associated with this FrameworkElementAutomationPeer. This method is called by GetItemStatus. (Inherited from FrameworkElementAutomationPeer.)
Public method GetItemType Gets a string that describes what kind of item an element represents. (Inherited from AutomationPeer.)
Protected method GetItemTypeCore Returns a human-readable string that contains the item type that the UIElement for this FrameworkElementAutomationPeer represents. This method is called by GetItemType. (Inherited from FrameworkElementAutomationPeer.)
Public method GetLabeledBy Gets the AutomationPeer for the UIElement that is targeted to the element. (Inherited from AutomationPeer.)
Protected method GetLabeledByCore Returns the AutomationPeer for the UIElement that targets the FrameworkElement that is associated with this FrameworkElementAutomationPeer. This method is called by GetLabeledBy. (Inherited from FrameworkElementAutomationPeer.)
Public method GetLocalizedControlType Gets a localized string that represents the control type, for the control that is associated with this automation peer. The localized string parallels a AutomationControlType value. (Inherited from AutomationPeer.)
Protected method GetLocalizedControlTypeCore Returns a localized human-readable string that identifies a control type. The control type is for the owner type that is associated with this FrameworkElementAutomationPeer. This method is called by GetLocalizedControlType. (Inherited from FrameworkElementAutomationPeer.)
Public method GetName Gets the value that the automation peer reports as the UI Automation Name for the associated control. (Inherited from AutomationPeer.)
Protected method GetNameCore Gets the UI Automation Name from the element associated with this CalendarAutomationPeer. Called by GetName. (Overrides FrameworkElementAutomationPeer.GetNameCore().)
Public method GetOrientation Gets a value that indicates the explicit control orientation, if any. (Inherited from AutomationPeer.)
Protected method GetOrientationCore Returns a value that indicates whether the element that is associated with this FrameworkElementAutomationPeer is laid out in a specific direction. This method is called by GetOrientation. (Inherited from FrameworkElementAutomationPeer.)
Public method GetParent Gets the AutomationPeer that is the parent of this AutomationPeer. (Inherited from AutomationPeer.)
Public method GetPattern Gets an object that supports the requested pattern, based on the patterns supported by this CalendarAutomationPeer. (Overrides FrameworkElementAutomationPeer.GetPattern(PatternInterface).)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue Returns the current effective value of a dependency property from a DependencyObject. (Inherited from DependencyObject.)
Public method HasKeyboardFocus Gets a value that indicates whether the object that is associated with this automation peer currently has keyboard focus. (Inherited from AutomationPeer.)
Protected method HasKeyboardFocusCore Returns a value that indicates whether the UIElement that is associated with this FrameworkElementAutomationPeer currently has keyboard input focus. This method is called by HasKeyboardFocus. (Inherited from FrameworkElementAutomationPeer.)
Public method InvalidatePeer Triggers recalculation of the main properties of the AutomationPeer and raises the PropertyChanged notification to the automation client if the properties have changed. (Inherited from AutomationPeer.)
Public method IsContentElement Gets a value that indicates whether the object that is associated with this automation peer contains data that is presented to the user. (Inherited from AutomationPeer.)
Protected method IsContentElementCore Returns a value that indicates whether the element that is associated with this FrameworkElementAutomationPeer is an element that contains data that is presented to the user. This method is called by IsContentElement. (Inherited from FrameworkElementAutomationPeer.)
Public method 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.)
Protected method IsControlElementCore Returns a value that indicates whether the object that is associated with this FrameworkElementAutomationPeer is understood by the end user as interactive. Optionally, the user might understand the object as contributing to the logical structure of the control in the GUI. This method is called by IsControlElement. (Inherited from FrameworkElementAutomationPeer.)
Public method IsEnabled Gets a value that indicates whether the element associated with this automation peer supports interaction. (Inherited from AutomationPeer.)
Protected method IsEnabledCore Returns a value that indicates whether the UIElement that is associated with this FrameworkElementAutomationPeer is enabled. This method is called by IsEnabled. (Inherited from FrameworkElementAutomationPeer.)
Public method IsKeyboardFocusable Gets a value that indicates whether the element can accept keyboard focus. (Inherited from AutomationPeer.)
Protected method IsKeyboardFocusableCore Returns a value that indicates whether the element that is associated with this FrameworkElementAutomationPeer can accept keyboard focus. This method is called by IsKeyboardFocusable. (Inherited from FrameworkElementAutomationPeer.)
Public method IsOffscreen Gets a value that indicates whether an element is off the screen. (Inherited from AutomationPeer.)
Protected method IsOffscreenCore Returns a value that indicates whether the UIElement that is associated with this FrameworkElementAutomationPeer is off the screen. This method is called by IsOffscreen. (Inherited from FrameworkElementAutomationPeer.)
Public method IsPassword Gets a value that indicates whether the element contains sensitive content. (Inherited from AutomationPeer.)
Protected method IsPasswordCore Returns a value that indicates whether the element that is associated with this FrameworkElementAutomationPeer contains protected content. This method is called by IsPassword. (Inherited from FrameworkElementAutomationPeer.)
Public method IsRequiredForForm Gets a value that indicates whether the object that is associated with this peer must be completed on a form. (Inherited from AutomationPeer.)
Protected method IsRequiredForFormCore Returns a value that indicates whether the element that is associated with this FrameworkElementAutomationPeer is required to be completed on a form. This method is called by IsRequiredForForm. (Inherited from FrameworkElementAutomationPeer.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method PeerFromProvider Gets an AutomationPeer for the specified IRawElementProviderSimple proxy. (Inherited from AutomationPeer.)
Protected method ProviderFromPeer Gets the IRawElementProviderSimple proxy for the specified AutomationPeer. (Inherited from AutomationPeer.)
Public method RaiseAutomationEvent Raises an automation event. (Inherited from AutomationPeer.)
Public method RaisePropertyChangedEvent Raises an event to notify the automation client of a changed property value. (Inherited from AutomationPeer.)
Public method ReadLocalValue Returns the local value of a dependency property, if a local value is set. (Inherited from DependencyObject.)
Public method SetFocus Sets the keyboard focus on the object that is associated with this automation peer. (Inherited from AutomationPeer.)
Protected method SetFocusCore Sets the keyboard input focus on the element that is associated with this FrameworkElementAutomationPeer. This method is called by SetFocus. (Inherited from FrameworkElementAutomationPeer.)
Public method SetValue Sets the local value of a dependency property on a DependencyObject. (Inherited from DependencyObject.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property IGridProvider.ColumnCount Infrastructure. For a description of this member, see IGridProvider.ColumnCount.
Explicit interface implemetationPrivate method IGridProvider.GetItem Infrastructure. For a description of this member, see IGridProvider.GetItem.
Explicit interface implemetationPrivate property IGridProvider.RowCount Infrastructure. For a description of this member, see IGridProvider.RowCount.
Explicit interface implemetationPrivate property IMultipleViewProvider.CurrentView Infrastructure. For a description of this member, see IMultipleViewProvider.CurrentView.
Explicit interface implemetationPrivate method IMultipleViewProvider.GetSupportedViews Infrastructure. For a description of this member, see IMultipleViewProvider.GetSupportedViews.
Explicit interface implemetationPrivate method IMultipleViewProvider.GetViewName Infrastructure. For a description of this member, see IMultipleViewProvider.GetViewName.
Explicit interface implemetationPrivate method IMultipleViewProvider.SetCurrentView Infrastructure. For a description of this member, see IMultipleViewProvider.SetCurrentView.
Explicit interface implemetationPrivate property ISelectionProvider.CanSelectMultiple Infrastructure. For a description of this member, see ISelectionProvider.CanSelectMultiple.
Explicit interface implemetationPrivate method ISelectionProvider.GetSelection Infrastructure. For a description of this member, see ISelectionProvider.GetSelection.
Explicit interface implemetationPrivate property ISelectionProvider.IsSelectionRequired Infrastructure. For a description of this member, see ISelectionProvider.IsSelectionRequired.
Explicit interface implemetationPrivate method ITableProvider.GetColumnHeaders Infrastructure. For a description of this member, see ITableProvider.GetColumnHeaders.
Explicit interface implemetationPrivate method ITableProvider.GetRowHeaders Infrastructure. For a description of this member, see ITableProvider.GetRowHeaders.
Explicit interface implemetationPrivate property ITableProvider.RowOrColumnMajor Infrastructure. For a description of this member, see ITableProvider.RowOrColumnMajor.

Top

Remarks

Automation Patterns

This automation peer implements the following pattern interfaces: IMultipleViewProvider, ISelectionProvider, ITableProvider, IGridProvider.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.