Show / Hide Table of Contents

Class DataPagerAutomationPeer

Automation peer for the DataPager control.

Inheritance
System.Object
DependencyObject
AutomationPeer
FrameworkElementAutomationPeer
DataPagerAutomationPeer
Implements
IRangeValueProvider
Inherited Members
FrameworkElementAutomationPeer.Owner
FrameworkElementAutomationPeer.FromElement(UIElement)
FrameworkElementAutomationPeer.CreatePeerForElement(UIElement)
FrameworkElementAutomationPeer.GetAcceleratorKeyCore()
FrameworkElementAutomationPeer.GetAccessKeyCore()
FrameworkElementAutomationPeer.GetAutomationIdCore()
FrameworkElementAutomationPeer.GetHelpTextCore()
FrameworkElementAutomationPeer.GetItemStatusCore()
FrameworkElementAutomationPeer.GetItemTypeCore()
FrameworkElementAutomationPeer.GetLabeledByCore()
FrameworkElementAutomationPeer.IsRequiredForFormCore()
FrameworkElementAutomationPeer.GetChildrenCore()
FrameworkElementAutomationPeer.GetBoundingRectangleCore()
FrameworkElementAutomationPeer.IsContentElementCore()
FrameworkElementAutomationPeer.IsControlElementCore()
FrameworkElementAutomationPeer.IsPasswordCore()
FrameworkElementAutomationPeer.IsEnabledCore()
FrameworkElementAutomationPeer.GetLocalizedControlTypeCore()
FrameworkElementAutomationPeer.GetOrientationCore()
FrameworkElementAutomationPeer.HasKeyboardFocusCore()
FrameworkElementAutomationPeer.IsKeyboardFocusableCore()
FrameworkElementAutomationPeer.IsOffscreenCore()
FrameworkElementAutomationPeer.SetFocusCore()
AutomationPeer.EventsSource
AutomationPeer.ListenerExists(AutomationEvents)
AutomationPeer.GetAcceleratorKey()
AutomationPeer.GetAccessKey()
AutomationPeer.GetAutomationControlType()
AutomationPeer.GetAutomationId()
AutomationPeer.GetBoundingRectangle()
AutomationPeer.GetChildren()
AutomationPeer.GetClassName()
AutomationPeer.GetClickablePoint()
AutomationPeer.GetHelpText()
AutomationPeer.GetItemStatus()
AutomationPeer.GetItemType()
AutomationPeer.GetLabeledBy()
AutomationPeer.GetLocalizedControlType()
AutomationPeer.GetName()
AutomationPeer.GetOrientation()
AutomationPeer.HasKeyboardFocus()
AutomationPeer.IsContentElement()
AutomationPeer.IsControlElement()
AutomationPeer.IsEnabled()
AutomationPeer.IsKeyboardFocusable()
AutomationPeer.IsOffscreen()
AutomationPeer.IsPassword()
AutomationPeer.IsRequiredForForm()
AutomationPeer.SetFocus()
AutomationPeer.InvalidatePeer()
AutomationPeer.GetParent()
AutomationPeer.RaiseAutomationEvent(AutomationEvents)
AutomationPeer.RaisePropertyChangedEvent(AutomationProperty, Object, Object)
AutomationPeer.PeerFromProvider(IRawElementProviderSimple)
AutomationPeer.ProviderFromPeer(AutomationPeer)
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.INTERNAL_OnAttachedToVisualTree()
DependencyObject.INTERNAL_OnDetachedFromVisualTree()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Automation.Peers
Assembly: OpenSilver.Controls.Data.dll
Syntax
public class DataPagerAutomationPeer : FrameworkElementAutomationPeer, IDependencyObject, IRangeValueProvider

Constructors

| Improve this Doc View Source

DataPagerAutomationPeer(DataPager)

Initializes a new instance of the DataPagerAutomationPeer class.

Declaration
public DataPagerAutomationPeer(DataPager owner)
Parameters
Type Name Description
DataPager owner

The DataPager that is associated with this DataPagerAutomationPeer.

Methods

| Improve this Doc View Source

GetAutomationControlTypeCore()

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

Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type Description
AutomationControlType

The control type.

Overrides
FrameworkElementAutomationPeer.GetAutomationControlTypeCore()
| Improve this Doc View Source

GetClassNameCore()

Called by GetClassName that gets a human readable name that, in addition to AutomationControlType, differentiates the control represented by this AutomationPeer.

Declaration
protected override string GetClassNameCore()
Returns
Type Description
System.String

The string that contains the name.

Overrides
FrameworkElementAutomationPeer.GetClassNameCore()
| Improve this Doc View Source

GetClickablePointCore()

Returns a System.Windows.Point that represents the clickable space that is on the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.FrameworkElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetClickablePoint().

Declaration
protected override Point GetClickablePointCore()
Returns
Type Description
Point

The System.Windows.Point on the element that allows a click.

Overrides
FrameworkElementAutomationPeer.GetClickablePointCore()
| Improve this Doc View Source

GetNameCore()

Gets text that describes the DataPager that is associated with this automation peer. Called by System.Windows.Automation.Peers.AutomationPeer.GetName().

Declaration
protected override string GetNameCore()
Returns
Type Description
System.String

When the control is not paging data:

  • Value returned by the base implementation if it's not empty
  • Name of the owning DataPager control if it's not empty
  • Name returned by the LabeledBy automation peer if it's not empty
  • DataPager class name if none of the above is valid When the control is paging data:
  • "Page N" when the total page count is unknown
  • "Page N of M" when the count is known
Overrides
FrameworkElementAutomationPeer.GetNameCore()
| Improve this Doc View Source

GetPattern(PatternInterface)

Gets the control pattern that is associated with the specified System.Windows.Automation.Peers.PatternInterface.

Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
Type Name Description
PatternInterface patternInterface

A value from the System.Windows.Automation.Peers.PatternInterface enumeration.

Returns
Type Description
System.Object

The object that supports the specified pattern, or null if unsupported.

Overrides
FrameworkElementAutomationPeer.GetPattern(PatternInterface)

Explicit Interface Implementations

| Improve this Doc View Source

IRangeValueProvider.IsReadOnly

Gets a value indicating whether the DataPager control allows page changes.

Declaration
bool IRangeValueProvider.IsReadOnly { get; }
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IRangeValueProvider.LargeChange

Gets the value to be added or subtracted from the page number of the DataPager control.

Declaration
double IRangeValueProvider.LargeChange { get; }
Returns
Type Description
System.Double
| Improve this Doc View Source

IRangeValueProvider.Maximum

Gets the maximum page number value for the DataPager control.

Declaration
double IRangeValueProvider.Maximum { get; }
Returns
Type Description
System.Double
| Improve this Doc View Source

IRangeValueProvider.Minimum

Gets the minimum page number value for the DataPager control.

Declaration
double IRangeValueProvider.Minimum { get; }
Returns
Type Description
System.Double
| Improve this Doc View Source

IRangeValueProvider.SetValue(Double)

Sets the page number of the DataPager control.

Declaration
void IRangeValueProvider.SetValue(double value)
Parameters
Type Name Description
System.Double value

Value used for setting the PageIndex property of the DataPager control

| Improve this Doc View Source

IRangeValueProvider.SmallChange

Gets the value to be added or subtracted from the page number of the DataPager control.

Declaration
double IRangeValueProvider.SmallChange { get; }
Returns
Type Description
System.Double
| Improve this Doc View Source

IRangeValueProvider.Value

Gets the page number of the DataPager control.

Declaration
double IRangeValueProvider.Value { get; }
Returns
Type Description
System.Double

Implements

IRangeValueProvider

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
  • Improve this Doc
  • View Source