DataGridGroupItemAutomationPeer Class
Exposes the groups of items in CollectionViewGroup views of a DataGrid to UI automation.
System.Windows.DependencyObject
System.Windows.Automation.Peers.AutomationPeer
System.Windows.Automation.Peers.FrameworkElementAutomationPeer
System.Windows.Automation.Peers.DataGridGroupItemAutomationPeer
Namespace: System.Windows.Automation.Peers
Assembly: System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)
The DataGridGroupItemAutomationPeer type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | DataGridGroupItemAutomationPeer | Initializes a new instance of the DataGridGroupItemAutomationPeer class. |
| Name | Description | |
|---|---|---|
![]() | Dispatcher | Gets the Dispatcher this object is associated with. (Inherited from DependencyObject.) |
![]() | 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.) |
![]() | Owner | Gets the UIElement that is associated with this FrameworkElementAutomationPeer. (Inherited from FrameworkElementAutomationPeer.) |
| Name | Description | |
|---|---|---|
![]() | CheckAccess | Determines whether the calling thread has access to this object. (Inherited from DependencyObject.) |
![]() | ClearValue | Clears the local value of a dependency property. (Inherited from DependencyObject.) |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | 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.) |
![]() | GetAcceleratorKey | Gets the accelerator key combination for the object that is associated with the UI Automation peer. (Inherited from AutomationPeer.) |
![]() | GetAcceleratorKeyCore | Retrieves the accelerator key combinations for the item group. (Overrides FrameworkElementAutomationPeer.GetAcceleratorKeyCore.) |
![]() | GetAccessKey | Gets the access key for the object that is associated with the automation peer. (Inherited from AutomationPeer.) |
![]() | GetAccessKeyCore | Retrieves the access key for the item group. (Overrides FrameworkElementAutomationPeer.GetAccessKeyCore.) |
![]() | 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.) |
![]() | GetAutomationControlType | Gets the control type for the object that is associated with the UI Automation peer. (Inherited from AutomationPeer.) |
![]() | GetAutomationControlTypeCore | Retrieves the AutomationControlType for the item group associated with this DataGridGroupItemAutomationPeer. Called by GetAutomationControlType. (Overrides FrameworkElementAutomationPeer.GetAutomationControlTypeCore.) |
![]() | GetAutomationId | Gets the AutomationId of the object that is associated with the automation peer. (Inherited from AutomationPeer.) |
![]() | GetAutomationIdCore | Retrieves the string that uniquely identifies the group of items to UI automation. (Overrides FrameworkElementAutomationPeer.GetAutomationIdCore.) |
![]() | GetBoundingRectangle | Gets the Rect object that represents the screen coordinates of the element that is associated with the automation peer. (Inherited from AutomationPeer.) |
![]() | GetBoundingRectangleCore | Retrieves the object that represents the bounding box in screen coordinates of the group of items. (Overrides FrameworkElementAutomationPeer.GetBoundingRectangleCore.) |
![]() | 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.) |
![]() | GetChildrenCore | Retrieves automation peers for the collection of child elements that are represented in the UI automation tree as immediate child elements of the automation peer. (Overrides FrameworkElementAutomationPeer.GetChildrenCore.) |
![]() | GetClassName | Gets the name of the control class that is associated with the peer. (Inherited from AutomationPeer.) |
![]() | GetClassNameCore | Gets the name of the class that is associated with this DataGridGroupItemAutomationPeer. Called by GetClassName. (Overrides FrameworkElementAutomationPeer.GetClassNameCore.) |
![]() | GetClickablePoint | Gets a Point on the object that is associated with the automation peer that responds to a mouse click. (Inherited from AutomationPeer.) |
![]() | GetClickablePointCore | Retrieves the point on the group of items that responds to a mouse click. (Overrides FrameworkElementAutomationPeer.GetClickablePointCore.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetHelpText | Gets text that describes the functionality of the control that is associated with the automation peer. (Inherited from AutomationPeer.) |
![]() | GetHelpTextCore | Retrieves text that describes the functionality of the group of items. (Overrides FrameworkElementAutomationPeer.GetHelpTextCore.) |
![]() | GetItemStatus | Gets text that conveys the visual status of the object that is associated with this automation peer. (Inherited from AutomationPeer.) |
![]() | GetItemStatusCore | Retrieves text that conveys the visual status of the group of items. (Overrides FrameworkElementAutomationPeer.GetItemStatusCore.) |
![]() | GetItemType | Gets a string that describes what kind of item an element represents. (Inherited from AutomationPeer.) |
![]() | GetItemTypeCore | Retrieves a value that describes what kind of item the group of items represents. (Overrides FrameworkElementAutomationPeer.GetItemTypeCore.) |
![]() | GetLabeledBy | Gets the AutomationPeer for the UIElement that is targeted to the element. (Inherited from AutomationPeer.) |
![]() | GetLabeledByCore | Retrieves the automation peer for the element designated as the label for the group of items. (Overrides FrameworkElementAutomationPeer.GetLabeledByCore.) |
![]() | 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.) |
![]() | GetLocalizedControlTypeCore | Retrieves a localized string that represents the AutomationControlType for the group of items. (Overrides FrameworkElementAutomationPeer.GetLocalizedControlTypeCore.) |
![]() | GetName | Gets the value that the automation peer reports as the UI Automation Name for the associated control. (Inherited from AutomationPeer.) |
![]() | GetNameCore | Gets the UI Automation Name of the data grid item that is associated with this DataGridGroupItemAutomationPeer. Called by GetName. (Overrides FrameworkElementAutomationPeer.GetNameCore.) |
![]() | GetOrientation | Gets a value that indicates the explicit control orientation, if any. (Inherited from AutomationPeer.) |
![]() | GetOrientationCore | Retrieves a value that indicates the explicit control orientation, if any. (Overrides FrameworkElementAutomationPeer.GetOrientationCore.) |
![]() | GetParent | Gets the AutomationPeer that is the parent of this AutomationPeer. (Inherited from AutomationPeer.) |
![]() | GetPattern | Gets an object that supports the requested pattern, based on the patterns supported by this DataGridGroupItemAutomationPeer. (Overrides FrameworkElementAutomationPeer.GetPattern(PatternInterface).) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetValue | Returns the current effective value of a dependency property from a DependencyObject. (Inherited from DependencyObject.) |
![]() | HasKeyboardFocus | Gets a value that indicates whether the object that is associated with this automation peer currently has keyboard focus. (Inherited from AutomationPeer.) |
![]() | HasKeyboardFocusCore | Retrieves a value that indicates whether the group of items currently has keyboard focus. (Overrides FrameworkElementAutomationPeer.HasKeyboardFocusCore.) |
![]() | 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.) |
![]() | 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.) |
![]() | IsContentElementCore | Retrieves a value that indicates whether the group of items contains data that is presented to the user. (Overrides FrameworkElementAutomationPeer.IsContentElementCore.) |
![]() | 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 | Retrieves a value that indicates whether the group of items is understood by the user as interactive, or as contributing to the logical structure of the UI. (Overrides FrameworkElementAutomationPeer.IsControlElementCore.) |
![]() | IsEnabled | Gets a value that indicates whether the element associated with this automation peer supports interaction. (Inherited from AutomationPeer.) |
![]() | IsEnabledCore | Retrieves a value that indicates whether the group of items supports interaction. (Overrides FrameworkElementAutomationPeer.IsEnabledCore.) |
![]() | IsKeyboardFocusable | Gets a value that indicates whether the element can accept keyboard focus. (Inherited from AutomationPeer.) |
![]() | IsKeyboardFocusableCore | Retrieves a value that indicates whether the group of items can accept keyboard focus. (Overrides FrameworkElementAutomationPeer.IsKeyboardFocusableCore.) |
![]() | IsOffscreen | Gets a value that indicates whether an element is off the screen. (Inherited from AutomationPeer.) |
![]() | IsOffscreenCore | Retrieves a value that indicates whether the data grid item is off the screen. (Overrides FrameworkElementAutomationPeer.IsOffscreenCore.) |
![]() | IsPassword | Gets a value that indicates whether the element contains sensitive content. (Inherited from AutomationPeer.) |
![]() | IsPasswordCore | Retrieves a value that indicates whether the group of items contains sensitive content. (Overrides FrameworkElementAutomationPeer.IsPasswordCore.) |
![]() | IsRequiredForForm | Gets a value that indicates whether the object that is associated with this peer must be completed on a form. (Inherited from AutomationPeer.) |
![]() | IsRequiredForFormCore | Retrieves a value that indicates whether the group of items must be completed on a form. (Overrides FrameworkElementAutomationPeer.IsRequiredForFormCore.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | PeerFromProvider | Gets an AutomationPeer for the specified IRawElementProviderSimple proxy. (Inherited from AutomationPeer.) |
![]() | ProviderFromPeer | Gets the IRawElementProviderSimple proxy for the specified AutomationPeer. (Inherited from AutomationPeer.) |
![]() | RaiseAutomationEvent | Raises an automation event. (Inherited from AutomationPeer.) |
![]() | RaisePropertyChangedEvent | Raises an event to notify the automation client of a changed property value. (Inherited from AutomationPeer.) |
![]() | ReadLocalValue | Returns the local value of a dependency property, if a local value is set. (Inherited from DependencyObject.) |
![]() | SetFocus | Sets the keyboard focus on the object that is associated with this automation peer. (Inherited from AutomationPeer.) |
![]() | SetFocusCore | Sets the keyboard focus on the data grid item. (Overrides FrameworkElementAutomationPeer.SetFocusCore.) |
![]() | SetValue | Sets the local value of a dependency property on a DependencyObject. (Inherited from DependencyObject.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Automation Patterns
This automation peer implements the following pattern interfaces: IExpandCollapseProvider, IGridProvider, IScrollItemProvider, ISelectionProvider.
The FrameworkElementAutomationPeer overrides in DataGridGroupItemAutomationPeer follow a pattern of returning results based on a row header group owner if one exists, and otherwise returning defaults such as String.Empty or null.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.





