Dela via


RibbonTabDataAutomationPeer Class

Exposes RibbonTab types to UI Automation.

Inheritance Hierarchy

System.Object
  System.Windows.Threading.DispatcherObject
    System.Windows.Automation.Peers.AutomationPeer
      System.Windows.Automation.Peers.ItemAutomationPeer
        System.Windows.Automation.Peers.SelectorItemAutomationPeer
          Microsoft.Windows.Automation.Peers.RibbonTabDataAutomationPeer

Namespace:  Microsoft.Windows.Automation.Peers
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Class RibbonTabDataAutomationPeer _
    Inherits SelectorItemAutomationPeer _
    Implements ISelectionItemProvider, IExpandCollapseProvider, IScrollItemProvider
public class RibbonTabDataAutomationPeer : SelectorItemAutomationPeer, 
    ISelectionItemProvider, IExpandCollapseProvider, IScrollItemProvider
public ref class RibbonTabDataAutomationPeer : public SelectorItemAutomationPeer, 
    ISelectionItemProvider, IExpandCollapseProvider, IScrollItemProvider
type RibbonTabDataAutomationPeer =  
    class
        inherit SelectorItemAutomationPeer
        interface ISelectionItemProvider
        interface IExpandCollapseProvider
        interface IScrollItemProvider
    end
public class RibbonTabDataAutomationPeer extends SelectorItemAutomationPeer implements ISelectionItemProvider, IExpandCollapseProvider, IScrollItemProvider

The RibbonTabDataAutomationPeer type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Dispatcher Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)
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.)
Protected property 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.)
Public property Item Gets the data item in the Items collection that is associated with this ItemAutomationPeer. (Inherited from ItemAutomationPeer.)
Public property ItemsControlAutomationPeer Gets the ItemsControlAutomationPeer that is associated with the ItemsControl that holds the Items collection. (Inherited from ItemAutomationPeer.)

Top

Methods

  Name Description
Public method CheckAccess Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Public method Equals 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 it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAcceleratorKey Gets the accelerator key combinations for the element that is associated with the UI Automation peer.  (Inherited from AutomationPeer.)
Protected method GetAcceleratorKeyCore Gets the accelerator key for the UIElement that corresponds to the data item in the Items collection that is associated with this ItemAutomationPeer. (Inherited from ItemAutomationPeer.)
Public method GetAccessKey Gets the access key for the element that is associated with the automation peer. (Inherited from AutomationPeer.)
Protected method GetAccessKeyCore Gets the access key for the UIElement that corresponds to the data item in the Items collection that is associated with this ItemAutomationPeer. (Inherited from ItemAutomationPeer.)
Public method GetAutomationControlType Gets the control type for the element that is associated with the UI Automation peer. (Inherited from AutomationPeer.)
Protected method GetAutomationControlTypeCore Gets the control type for the RibbonTab that is associated with this RibbonTabDataAutomationPeer. This method is called by GetAutomationControlType. (Overrides AutomationPeer.GetAutomationControlTypeCore().)
Public method GetAutomationId Gets the AutomationId of the element that is associated with the automation peer. (Inherited from AutomationPeer.)
Protected method GetAutomationIdCore Gets the string that uniquely identifies the UIElement that corresponds to the data item in the Items collection that is associated with this ItemAutomationPeer. (Inherited from ItemAutomationPeer.)
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 Gets the Rect that represents the bounding rectangle of the specified UIElement. (Inherited from ItemAutomationPeer.)
Public method 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.)
Protected method GetChildrenCore Gets the collection of child elements of the UIElement that corresponds to the data item in the Items collection that is associated with this ItemAutomationPeer. (Inherited from ItemAutomationPeer.)
Public method GetClassName Gets a name that is used with AutomationControlType, to differentiate the control that is represented by this AutomationPeer. (Inherited from AutomationPeer.)
Protected method GetClassNameCore Gets the class name of the RibbonTab that is associated with this RibbonTabDataAutomationPeer. This method is called by GetClassName. (Overrides AutomationPeer.GetClassNameCore().)
Public method GetClickablePoint Gets a Point on the element that is associated with the automation peer that responds to a mouse click. (Inherited from AutomationPeer.)
Protected method GetClickablePointCore Gets a Point that represents the clickable space that is on the specified UIElement. (Inherited from ItemAutomationPeer.)
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 Gets the string that describes the functionality of the UIElement that corresponds to the data item in the Items collection that is associated with this ItemAutomationPeer. (Inherited from ItemAutomationPeer.)
Protected method 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.)
Public method GetItemStatus Gets text that conveys the visual status of the element that is associated with this automation peer. (Inherited from AutomationPeer.)
Protected method GetItemStatusCore Gets a string that conveys the visual status of the specified UIElement. (Inherited from ItemAutomationPeer.)
Public method GetItemType Gets a string that describes what kind of item an object represents. (Inherited from AutomationPeer.)
Protected method GetItemTypeCore Gets a human-readable string that contains the type of item that the specified UIElement represents. (Inherited from ItemAutomationPeer.)
Public method GetLabeledBy Gets the AutomationPeer for the Label that is targeted to the element. (Inherited from AutomationPeer.)
Protected method GetLabeledByCore Gets the AutomationPeer for the Label that is targeted to the specified UIElement. (Inherited from ItemAutomationPeer.)
Public method 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.)
Protected method GetLocalizedControlTypeCore When overridden in a derived class, is called by GetLocalizedControlType. (Inherited from AutomationPeer.)
Public method GetName Gets text that describes the element that is associated with this automation peer. (Inherited from AutomationPeer.)
Protected method GetNameCore Gets the text label of the UIElement that corresponds to the data item in the Items collection that is associated with this ItemAutomationPeer. (Inherited from ItemAutomationPeer.)
Public method GetOrientation Gets a value that indicates the explicit control orientation, if any. (Inherited from AutomationPeer.)
Protected method GetOrientationCore Gets a value that indicates whether the specified UIElement is laid out in a particular direction. (Inherited from ItemAutomationPeer.)
Public method GetParent Gets the AutomationPeer that is the parent of this AutomationPeer. (Inherited from AutomationPeer.)
Public method GetPattern Gets the control pattern for the RibbonTab that is associated with the RibbonTabDataAutomationPeer. (Overrides SelectorItemAutomationPeer.GetPattern(PatternInterface).)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method HasKeyboardFocus Gets a value that indicates whether the element that is associated with this automation peer currently has keyboard focus. (Inherited from AutomationPeer.)
Protected method HasKeyboardFocusCore Gets a value that indicates whether the specified UIElement currently has keyboard input focus. (Inherited from ItemAutomationPeer.)
Public method 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.)
Public method 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.)
Protected method IsContentElementCore Gets a value that indicates whether the specified UIElement contains data that is presented to the user. (Inherited from ItemAutomationPeer.)
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 Gets a value that indicates whether the UIElement that is associated with this ItemAutomationPeer is understood by the end user as interactive. (Inherited from ItemAutomationPeer.)
Public method IsEnabled Gets a value that indicates whether the element associated with this automation peer supports interaction. (Inherited from AutomationPeer.)
Protected method IsEnabledCore Gets a value that indicates whether the specified UIElement can receive and send events. (Inherited from ItemAutomationPeer.)
Public method IsKeyboardFocusable Gets a value that indicates whether the element can accept keyboard focus. (Inherited from AutomationPeer.)
Protected method IsKeyboardFocusableCore Gets a value that indicates whether the specified UIElement can accept keyboard focus. (Inherited from ItemAutomationPeer.)
Public method IsOffscreen Gets a value that indicates whether an element is off the screen. (Inherited from AutomationPeer.)
Protected method IsOffscreenCore Gets a value that indicates whether the specified UIElement is off the screen. (Inherited from ItemAutomationPeer.)
Public method IsPassword Gets a value that indicates whether the element contains sensitive content. (Inherited from AutomationPeer.)
Protected method IsPasswordCore Gets a value that indicates whether the specified UIElement contains protected content. (Inherited from ItemAutomationPeer.)
Public method IsRequiredForForm Gets a value that indicates whether the element that is associated with this peer must be completed on a form. (Inherited from AutomationPeer.)
Protected method IsRequiredForFormCore Gets a value that indicates whether the specified UIElement is required to be completed on a form. (Inherited from ItemAutomationPeer.)
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 for the specified AutomationPeer. (Inherited from AutomationPeer.)
Public method RaiseAsyncContentLoadedEvent Called by the AutomationPeer to raise the AsyncContentLoadedEvent event. (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 ResetChildrenCache Synchronously resets the tree of child elements by calling GetChildrenCore. (Inherited from AutomationPeer.)
Public method SetFocus Sets the keyboard focus on the element that is associated with this automation peer. (Inherited from AutomationPeer.)
Protected method SetFocusCore Sets the keyboard input focus on the specified UIElement. The UIElement corresponds to the data item in the Items collection that is associated with this ItemAutomationPeer. (Inherited from ItemAutomationPeer.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method VerifyAccess Enforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ISelectionItemProvider.AddToSelection This API is not implemented.
Explicit interface implemetationPrivate method IExpandCollapseProvider.Collapse Hides all nodes, controls, or content that are descendants of the control.
Explicit interface implemetationPrivate method IExpandCollapseProvider.Expand Displays all child nodes, controls, or content of the control.
Explicit interface implemetationPrivate property IExpandCollapseProvider.ExpandCollapseState Gets the state, expanded or collapsed, of the control that is associated with this RibbonTabDataAutomationPeer.
Explicit interface implemetationPrivate method ISelectionItemProvider.RemoveFromSelection This API is not implemented.
Explicit interface implemetationPrivate method IScrollItemProvider.ScrollIntoView Scrolls the content area of a container object in order to display the control within the visible region of the container.
Explicit interface implemetationPrivate property ISelectionItemProvider.IsSelected This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. (Inherited from SelectorItemAutomationPeer.)
Explicit interface implemetationPrivate method ISelectionItemProvider.Select This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. (Inherited from SelectorItemAutomationPeer.)
Explicit interface implemetationPrivate property ISelectionItemProvider.SelectionContainer This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. (Inherited from SelectorItemAutomationPeer.)

Top

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.

See Also

Reference

Microsoft.Windows.Automation.Peers Namespace