Class DataPagerAutomationPeer
Automation peer for the DataPager control.
Inheritance
Implements
Inherited Members
Namespace: System.Windows.Automation.Peers
Assembly: OpenSilver.Controls.Data.dll
Syntax
public class DataPagerAutomationPeer : FrameworkElementAutomationPeer, IRangeValueProvider
Constructors
| Improve this Doc View SourceDataPagerAutomationPeer(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 SourceGetAutomationControlTypeCore()
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
| Improve this Doc View SourceGetClassNameCore()
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
| Improve this Doc View SourceGetClickablePointCore()
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
| Improve this Doc View SourceGetNameCore()
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:
|
Overrides
| Improve this Doc View SourceGetPattern(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
Explicit Interface Implementations
| Improve this Doc View SourceIRangeValueProvider.IsReadOnly
Gets a value indicating whether the DataPager control allows page changes.
Declaration
bool IRangeValueProvider.IsReadOnly { get; }
Returns
Type | Description |
---|---|
System.Boolean |
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 |
IRangeValueProvider.Maximum
Gets the maximum page number value for the DataPager control.
Declaration
double IRangeValueProvider.Maximum { get; }
Returns
Type | Description |
---|---|
System.Double |
IRangeValueProvider.Minimum
Gets the minimum page number value for the DataPager control.
Declaration
double IRangeValueProvider.Minimum { get; }
Returns
Type | Description |
---|---|
System.Double |
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 |
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 |
IRangeValueProvider.Value
Gets the page number of the DataPager control.
Declaration
double IRangeValueProvider.Value { get; }
Returns
Type | Description |
---|---|
System.Double |