Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataGridItemAutomationPeer Class

Exposes items in the DataGrid to UI automation.

Namespace:  System.Windows.Automation.Peers
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)
public class DataGridItemAutomationPeer : FrameworkElementAutomationPeer, 
	IInvokeProvider, IScrollItemProvider, ISelectionItemProvider, ISelectionProvider

The DataGridItemAutomationPeer type exposes the following members.

  NameDescription
Public methodDataGridItemAutomationPeerInitializes a new instance of the DataGridItemAutomationPeer class.
Top
  NameDescription
Public propertyDispatcherGets the Dispatcher this object is associated with. (Inherited from DependencyObject.)
Public propertyEventsSourceGets 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 propertyOwnerGets the UIElement that is associated with this FrameworkElementAutomationPeer. (Inherited from FrameworkElementAutomationPeer.)
Top
  NameDescription
Public methodCheckAccessDetermines whether the calling thread has access to this object. (Inherited from DependencyObject.)
Public methodClearValueClears the local value of a dependency property. (Inherited from DependencyObject.)
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetAcceleratorKeyGets the accelerator key combination for the object that is associated with the UI Automation peer. (Inherited from AutomationPeer.)
Protected methodGetAcceleratorKeyCoreRetrieves the accelerator key combinations for the item. (Overrides FrameworkElementAutomationPeer.GetAcceleratorKeyCore().)
Public methodGetAccessKeyGets the access key for the object that is associated with the automation peer. (Inherited from AutomationPeer.)
Protected methodGetAccessKeyCoreRetrieves the access key for the item. (Overrides FrameworkElementAutomationPeer.GetAccessKeyCore().)
Public methodGetAnimationBaseValueReturns any base value established for a Silverlight dependency property, which would apply in cases where an animation is not active. (Inherited from DependencyObject.)
Public methodGetAutomationControlTypeGets the control type for the object that is associated with the UI Automation peer. (Inherited from AutomationPeer.)
Protected methodGetAutomationControlTypeCoreGets the AutomationControlType for the element associated with this DataGridItemAutomationPeer. Called by GetAutomationControlType. (Overrides FrameworkElementAutomationPeer.GetAutomationControlTypeCore().)
Public methodGetAutomationIdGets the AutomationId of the object that is associated with the automation peer. (Inherited from AutomationPeer.)
Protected methodGetAutomationIdCoreRetrieves the string that uniquely identifies the data grid item to UI automation. (Overrides FrameworkElementAutomationPeer.GetAutomationIdCore().)
Public methodGetBoundingRectangleGets the Rect object that represents the screen coordinates of the element that is associated with the automation peer. (Inherited from AutomationPeer.)
Protected methodGetBoundingRectangleCoreRetrieves the object that represents the screen coordinates of the data grid item. (Overrides FrameworkElementAutomationPeer.GetBoundingRectangleCore().)
Public methodGetChildrenGets 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 methodGetChildrenCoreRetrieves the collection of child elements that are represented in the UI automation tree as immediate child elements of the automation peer. (Overrides FrameworkElementAutomationPeer.GetChildrenCore().)
Public methodGetClassNameGets the name of the control class that is associated with the peer. (Inherited from AutomationPeer.)
Protected methodGetClassNameCoreGets the class name of the class associated with this DataGridItemAutomationPeer. Called by GetClassName. (Overrides FrameworkElementAutomationPeer.GetClassNameCore().)
Public methodGetClickablePointGets a Point on the object that is associated with the automation peer that responds to a mouse click. (Inherited from AutomationPeer.)
Protected methodGetClickablePointCoreRetrieves the point on the data grid item that responds to a mouse click. (Overrides FrameworkElementAutomationPeer.GetClickablePointCore().)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetHelpTextGets text that describes the functionality of the control that is associated with the automation peer. (Inherited from AutomationPeer.)
Protected methodGetHelpTextCoreRetrieves text that describes the functionality of the data grid item. (Overrides FrameworkElementAutomationPeer.GetHelpTextCore().)
Public methodGetItemStatusGets text that conveys the visual status of the object that is associated with this automation peer. (Inherited from AutomationPeer.)
Protected methodGetItemStatusCoreRetrieves text that conveys the visual status of the data grid item. (Overrides FrameworkElementAutomationPeer.GetItemStatusCore().)
Public methodGetItemTypeGets a string that describes what kind of item an element represents. (Inherited from AutomationPeer.)
Protected methodGetItemTypeCoreRetrieves a value that describes what kind of item the data grid item represents. (Overrides FrameworkElementAutomationPeer.GetItemTypeCore().)
Public methodGetLabeledByGets the AutomationPeer for the UIElement that is targeted to the element. (Inherited from AutomationPeer.)
Protected methodGetLabeledByCoreRetrieves the automation peer for the element designated as the label for the data grid item. (Overrides FrameworkElementAutomationPeer.GetLabeledByCore().)
Public methodGetLocalizedControlTypeGets 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 methodGetLocalizedControlTypeCoreRetrieves a localized string that represents the AutomationControlType for the data grid item. (Overrides FrameworkElementAutomationPeer.GetLocalizedControlTypeCore().)
Public methodGetNameGets the value that the automation peer reports as the UI Automation Name for the associated control. (Inherited from AutomationPeer.)
Protected methodGetNameCoreGets the UI Automation Name from the data grid item that is associated with this DataGridItemAutomationPeer. Called by GetName. (Overrides FrameworkElementAutomationPeer.GetNameCore().)
Public methodGetOrientationGets a value that indicates the explicit control orientation, if any. (Inherited from AutomationPeer.)
Protected methodGetOrientationCoreRetrieves a value that indicates the explicit control orientation, if any. (Overrides FrameworkElementAutomationPeer.GetOrientationCore().)
Public methodGetParentGets the AutomationPeer that is the parent of this AutomationPeer. (Inherited from AutomationPeer.)
Public methodGetPatternGets an object that supports the requested pattern, based on the patterns supported by this DataGridItemAutomationPeer. (Overrides FrameworkElementAutomationPeer.GetPattern(PatternInterface).)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetValueReturns the current effective value of a dependency property from a DependencyObject. (Inherited from DependencyObject.)
Public methodHasKeyboardFocusGets a value that indicates whether the object that is associated with this automation peer currently has keyboard focus. (Inherited from AutomationPeer.)
Protected methodHasKeyboardFocusCoreRetrieves a value that indicates whether the data grid item currently has keyboard focus. (Overrides FrameworkElementAutomationPeer.HasKeyboardFocusCore().)
Public methodInvalidatePeerTriggers 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 methodIsContentElementGets 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 methodIsContentElementCoreRetrieves a value that indicates whether the data grid item contains data that is presented to the user. (Overrides FrameworkElementAutomationPeer.IsContentElementCore().)
Public methodIsControlElementGets 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 methodIsControlElementCoreRetrieves a value that indicates whether the data grid item is understood by the user as interactive or as contributing to the logical structure of the UI. (Overrides FrameworkElementAutomationPeer.IsControlElementCore().)
Public methodIsEnabledGets a value that indicates whether the element associated with this automation peer supports interaction. (Inherited from AutomationPeer.)
Protected methodIsEnabledCoreRetrieves a value that indicates whether the data grid item supports interaction. (Overrides FrameworkElementAutomationPeer.IsEnabledCore().)
Public methodIsKeyboardFocusableGets a value that indicates whether the element can accept keyboard focus. (Inherited from AutomationPeer.)
Protected methodIsKeyboardFocusableCoreRetrieves a value that indicates whether the data grid item can accept keyboard focus. (Overrides FrameworkElementAutomationPeer.IsKeyboardFocusableCore().)
Public methodIsOffscreenGets a value that indicates whether an element is off the screen. (Inherited from AutomationPeer.)
Protected methodIsOffscreenCoreRetrieves a value that indicates whether the data grid item is off the screen. (Overrides FrameworkElementAutomationPeer.IsOffscreenCore().)
Public methodIsPasswordGets a value that indicates whether the element contains sensitive content. (Inherited from AutomationPeer.)
Protected methodIsPasswordCoreRetrieves a value that indicates whether the data grid item contains sensitive content. (Overrides FrameworkElementAutomationPeer.IsPasswordCore().)
Public methodIsRequiredForFormGets a value that indicates whether the object that is associated with this peer must be completed on a form. (Inherited from AutomationPeer.)
Protected methodIsRequiredForFormCoreRetrieves a value that indicates whether the data grid item must be completed on a form. (Overrides FrameworkElementAutomationPeer.IsRequiredForFormCore().)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodPeerFromProviderGets an AutomationPeer for the specified IRawElementProviderSimple proxy. (Inherited from AutomationPeer.)
Protected methodProviderFromPeerGets the IRawElementProviderSimple proxy for the specified AutomationPeer. (Inherited from AutomationPeer.)
Public methodRaiseAutomationEventRaises an automation event. (Inherited from AutomationPeer.)
Public methodRaisePropertyChangedEventRaises an event to notify the automation client of a changed property value. (Inherited from AutomationPeer.)
Public methodReadLocalValueReturns the local value of a dependency property, if a local value is set. (Inherited from DependencyObject.)
Public methodSetFocusSets the keyboard focus on the object that is associated with this automation peer. (Inherited from AutomationPeer.)
Protected methodSetFocusCoreSets keyboard focus on the data grid item. (Overrides FrameworkElementAutomationPeer.SetFocusCore().)
Public methodSetValueSets the local value of a dependency property on a DependencyObject. (Inherited from DependencyObject.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top
  NameDescription
Explicit interface implemetationPrivate methodIInvokeProvider.InvokeInfrastructure. For a description of this member, see IInvokeProvider.Invoke.
Explicit interface implemetationPrivate methodIScrollItemProvider.ScrollIntoViewInfrastructure. For a description of this member, see IScrollItemProvider.ScrollIntoView.
Explicit interface implemetationPrivate methodISelectionItemProvider.AddToSelectionInfrastructure. For a description of this member, see ISelectionItemProvider.AddToSelection.
Explicit interface implemetationPrivate propertyISelectionItemProvider.IsSelectedInfrastructure. For a description of this member, see ISelectionItemProvider.IsSelected.
Explicit interface implemetationPrivate methodISelectionItemProvider.RemoveFromSelectionInfrastructure. For a description of this member, see ISelectionItemProvider.RemoveFromSelection.
Explicit interface implemetationPrivate methodISelectionItemProvider.SelectInfrastructure. For a description of this member, see ISelectionItemProvider.Select.
Explicit interface implemetationPrivate propertyISelectionItemProvider.SelectionContainerInfrastructure. For a description of this member, see ISelectionItemProvider.SelectionContainer.
Explicit interface implemetationPrivate propertyISelectionProvider.CanSelectMultipleInfrastructure. For a description of this member, see ISelectionProvider.CanSelectMultiple.
Explicit interface implemetationPrivate methodISelectionProvider.GetSelectionInfrastructure. For a description of this member, see ISelectionProvider.GetSelection.
Explicit interface implemetationPrivate propertyISelectionProvider.IsSelectionRequiredInfrastructure. For a description of this member, see ISelectionProvider.IsSelectionRequired.
Top

Automation Patterns

This automation peer implements the following pattern interfaces: IInvokeProvider, IScrollItemProvider, ISelectionItemProvider, ISelectionProvider.

Notes to Inheritors

The FrameworkElementAutomationPeer overrides in DataGridItemAutomationPeer follow a pattern of returning results based on a row owner if one exists, and otherwise returning defaults such as String.Empty or null.

Silverlight

Supported in: 5, 4, 3

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.