Редагувати

Поділитися через


DataGridCellItemAutomationPeer Class

Definition

Exposes DataGridCell types to UI Automation.

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

Constructors

DataGridCellItemAutomationPeer(Object, DataGridColumn)

Initializes a new instance of the DataGridCellItemAutomationPeer class.

Properties

Dispatcher

Gets the Dispatcher this DispatcherObject is associated with.

(Inherited from DispatcherObject)
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

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

(Inherited from AutomationPeer)

Methods

CheckAccess()

Determines whether the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)
Equals(Object)

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

(Inherited from Object)
GetAcceleratorKey()

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

(Inherited from AutomationPeer)
GetAcceleratorKeyCore()

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

(Inherited from AutomationPeer)
GetAccessKey()

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

(Inherited from AutomationPeer)
GetAccessKeyCore()

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

(Inherited from AutomationPeer)
GetAutomationControlType()

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

(Inherited from AutomationPeer)
GetAutomationControlTypeCore()

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

(Inherited from AutomationPeer)
GetAutomationId()

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

(Inherited from AutomationPeer)
GetAutomationIdCore()

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

(Inherited from AutomationPeer)
GetBoundingRectangle()

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

(Inherited from AutomationPeer)
GetBoundingRectangleCore()

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

(Inherited from AutomationPeer)
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()

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

(Inherited from AutomationPeer)
GetClassName()

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

(Inherited from AutomationPeer)
GetClassNameCore()

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

(Inherited from AutomationPeer)
GetClickablePoint()

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

(Inherited from AutomationPeer)
GetClickablePointCore()

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

(Inherited from AutomationPeer)
GetControlledPeers()

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

(Inherited from AutomationPeer)
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()

Serves as the default hash function.

(Inherited from Object)
GetHeadingLevel() (Inherited from AutomationPeer)
GetHeadingLevelCore() (Inherited from AutomationPeer)
GetHelpText()

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

(Inherited from AutomationPeer)
GetHelpTextCore()

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

(Inherited from AutomationPeer)
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()

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

(Inherited from AutomationPeer)
GetItemStatusCore()

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

(Inherited from AutomationPeer)
GetItemType()

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

(Inherited from AutomationPeer)
GetItemTypeCore()

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

(Inherited from AutomationPeer)
GetLabeledBy()

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

(Inherited from AutomationPeer)
GetLabeledByCore()

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

(Inherited from AutomationPeer)
GetLiveSetting()

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

(Inherited from AutomationPeer)
GetLiveSettingCore()

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

(Inherited from AutomationPeer)
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()

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

(Inherited from AutomationPeer)
GetName()

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

(Inherited from AutomationPeer)
GetNameCore()

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

(Inherited from AutomationPeer)
GetOrientation()

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

(Inherited from AutomationPeer)
GetOrientationCore()

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

(Inherited from AutomationPeer)
GetParent()

Gets the AutomationPeer that is the parent of this AutomationPeer.

(Inherited from AutomationPeer)
GetPattern(PatternInterface)

Returns the object that supports the specified control pattern of the element that is associated with this automation peer.

GetPeerFromPoint(Point)

Gets an AutomationPeer from the specified point.

(Inherited from AutomationPeer)
GetPeerFromPointCore(Point)

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

(Inherited from AutomationPeer)
GetPositionInSet()

Attempts to get the value of the PositionInSet property.

(Inherited from AutomationPeer)
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()

Attempts to get the value of the SizeOfSet property.

(Inherited from AutomationPeer)
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()

Gets the Type of the current instance.

(Inherited from Object)
HasKeyboardFocus()

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

(Inherited from AutomationPeer)
HasKeyboardFocusCore()

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

(Inherited from AutomationPeer)
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()

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()

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

(Inherited from AutomationPeer)
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()

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

(Inherited from AutomationPeer)
IsDialog() (Inherited from AutomationPeer)
IsDialogCore() (Inherited from AutomationPeer)
IsEnabled()

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

(Inherited from AutomationPeer)
IsEnabledCore()

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

(Inherited from AutomationPeer)
IsKeyboardFocusable()

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

(Inherited from AutomationPeer)
IsKeyboardFocusableCore()

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

(Inherited from AutomationPeer)
IsOffscreen()

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

(Inherited from AutomationPeer)
IsOffscreenCore()

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

(Inherited from AutomationPeer)
IsPassword()

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

(Inherited from AutomationPeer)
IsPasswordCore()

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

(Inherited from AutomationPeer)
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()

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

(Inherited from AutomationPeer)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
PeerFromProvider(IRawElementProviderSimple)

Gets an AutomationPeer for the specified IRawElementProviderSimple proxy.

(Inherited from AutomationPeer)
ProviderFromPeer(AutomationPeer)

Gets the IRawElementProviderSimple for the specified AutomationPeer.

(Inherited from AutomationPeer)
RaiseAsyncContentLoadedEvent(AsyncContentLoadedEventArgs)

Called by the AutomationPeer to raise the AsyncContentLoadedEvent event.

(Inherited from AutomationPeer)
RaiseAutomationEvent(AutomationEvents)

Raises an automation event.

(Inherited from AutomationPeer)
RaiseNotificationEvent(AutomationNotificationKind, AutomationNotificationProcessing, String, String) (Inherited from AutomationPeer)
RaisePropertyChangedEvent(AutomationProperty, Object, Object)

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

(Inherited from AutomationPeer)
ResetChildrenCache()

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

(Inherited from AutomationPeer)
SetFocus()

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

(Inherited from AutomationPeer)
SetFocusCore()

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

(Inherited from AutomationPeer)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
VerifyAccess()

Enforces that the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)

Explicit Interface Implementations

IGridItemProvider.Column

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

IGridItemProvider.ColumnSpan

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

IGridItemProvider.ContainingGrid

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

IGridItemProvider.Row

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

IGridItemProvider.RowSpan

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

IInvokeProvider.Invoke()

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

IScrollItemProvider.ScrollIntoView()

Scrolls the content area of a container object in order to display the control within the visible region (viewport) of the container.

ISelectionItemProvider.AddToSelection()

Adds the current element to the collection of selected items.

ISelectionItemProvider.IsSelected

Gets a value that indicates whether an item is selected.

ISelectionItemProvider.RemoveFromSelection()

Removes the current element from the collection of selected items.

ISelectionItemProvider.Select()

Deselects any selected items and then selects the current element.

ISelectionItemProvider.SelectionContainer

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

ITableItemProvider.GetColumnHeaderItems()

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

ITableItemProvider.GetRowHeaderItems()

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

IValueProvider.IsReadOnly

Gets a value that specifies whether the value of a control is read-only.

IValueProvider.SetValue(String)

Sets the value of a control.

IValueProvider.Value

Gets the value of the control.

IVirtualizedItemProvider.Realize()

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

Applies to