WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DataPagerAutomationPeer - WPF API Reference | Syncfusion System.Windows.Controls.DataPager control. ">

    Show / Hide Table of Contents

    Class DataPagerAutomationPeer

    Automation peer for the System.Windows.Controls.DataPager control.

    Inheritance
    System.Object
    DataPagerAutomationPeer
    Implements
    System.Windows.Automation.Provider.IRangeValueProvider
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class DataPagerAutomationPeer : FrameworkElementAutomationPeer, IRangeValueProvider

    Constructors

    DataPagerAutomationPeer(DataPagerExt)

    Initializes a new instance of the System.Windows.Automation.Peers.DataPagerAutomationPeer class.

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

    The System.Windows.Controls.DataPager that is associated with this System.Windows.Automation.Peers.DataPagerAutomationPeer.

    Methods

    GetAutomationControlTypeCore()

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

    Declaration
    protected override AutomationControlType GetAutomationControlTypeCore()
    Returns
    Type Description
    System.Windows.Automation.Peers.AutomationControlType

    The control type.

    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.

    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
    System.Windows.Point

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

    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

    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
    System.Windows.Automation.Peers.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.

    Implements

    System.Windows.Automation.Provider.IRangeValueProvider
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved