LoopingSelectorAutomationPeer LoopingSelectorAutomationPeer LoopingSelectorAutomationPeer LoopingSelectorAutomationPeer Class

Definition

Exposes LoopingSelector types to Microsoft UI Automation.

public : sealed class LoopingSelectorAutomationPeer : FrameworkElementAutomationPeer, ILoopingSelectorAutomationPeer, IExpandCollapseProvider, IItemContainerProvider, IScrollProvider, ISelectionProviderpublic sealed class LoopingSelectorAutomationPeer : FrameworkElementAutomationPeer, ILoopingSelectorAutomationPeer, IExpandCollapseProvider, IItemContainerProvider, IScrollProvider, ISelectionProviderPublic NotInheritable Class LoopingSelectorAutomationPeer Inherits FrameworkElementAutomationPeer Implements ILoopingSelectorAutomationPeer, IExpandCollapseProvider, IItemContainerProvider, IScrollProvider, ISelectionProvider// This API is not available in Javascript.
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties

Properties

CanSelectMultiple CanSelectMultiple CanSelectMultiple CanSelectMultiple

Gets a value that indicates whether the control allows more than one child element to be selected concurrently.

public : PlatForm::Boolean CanSelectMultiple { get; }public bool CanSelectMultiple { get; }Public ReadOnly Property CanSelectMultiple As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

true if multiple selection is allowed; otherwise, false.

ExpandCollapseState ExpandCollapseState ExpandCollapseState ExpandCollapseState

Gets the state, expanded or collapsed, of the control.

public : ExpandCollapseState ExpandCollapseState { get; }public ExpandCollapseState ExpandCollapseState { get; }Public ReadOnly Property ExpandCollapseState As ExpandCollapseState// This API is not available in Javascript.

HorizontallyScrollable HorizontallyScrollable HorizontallyScrollable HorizontallyScrollable

Gets a value that indicates whether the control can scroll horizontally.

public : PlatForm::Boolean HorizontallyScrollable { get; }public bool HorizontallyScrollable { get; }Public ReadOnly Property HorizontallyScrollable As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

true if the control can scroll horizontally; otherwise, false.

HorizontalScrollPercent HorizontalScrollPercent HorizontalScrollPercent HorizontalScrollPercent

Gets the current horizontal scroll position.

public : double HorizontalScrollPercent { get; }public double HorizontalScrollPercent { get; }Public ReadOnly Property HorizontalScrollPercent As double// This API is not available in Javascript.
Value
double double double double

The horizontal scroll position as a percentage of the total content area within the control.

HorizontalViewSize HorizontalViewSize HorizontalViewSize HorizontalViewSize

Gets the current horizontal view size.

public : double HorizontalViewSize { get; }public double HorizontalViewSize { get; }Public ReadOnly Property HorizontalViewSize As double// This API is not available in Javascript.
Value
double double double double

The horizontal size of the viewable region as a percentage of the total content area within the control.

IsSelectionRequired IsSelectionRequired IsSelectionRequired IsSelectionRequired

Gets a value that indicates whether the control requires at least one child element to be selected.

public : PlatForm::Boolean IsSelectionRequired { get; }public bool IsSelectionRequired { get; }Public ReadOnly Property IsSelectionRequired As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

true if selection is required; otherwise, false.

VerticallyScrollable VerticallyScrollable VerticallyScrollable VerticallyScrollable

Gets a value that indicates whether the control can scroll vertically.

public : PlatForm::Boolean VerticallyScrollable { get; }public bool VerticallyScrollable { get; }Public ReadOnly Property VerticallyScrollable As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

true if the control can scroll vertically; otherwise, false.

VerticalScrollPercent VerticalScrollPercent VerticalScrollPercent VerticalScrollPercent

Gets the current vertical scroll position.

public : double VerticalScrollPercent { get; }public double VerticalScrollPercent { get; }Public ReadOnly Property VerticalScrollPercent As double// This API is not available in Javascript.
Value
double double double double

The vertical scroll position as a percentage of the total content area within the control.

VerticalViewSize VerticalViewSize VerticalViewSize VerticalViewSize

Gets the current vertical view size.

public : double VerticalViewSize { get; }public double VerticalViewSize { get; }Public ReadOnly Property VerticalViewSize As double// This API is not available in Javascript.
Value
double double double double

The vertical size of the viewable region as a percentage of the total content area within the control.

Methods

Collapse() Collapse() Collapse() Collapse()

Hides all nodes, controls, or content that are descendants of the control.

public : void Collapse()public void Collapse()Public Function Collapse() As void// This API is not available in Javascript.

Expand() Expand() Expand() Expand()

Displays all child nodes, controls, or content of the control.

public : void Expand()public void Expand()Public Function Expand() As void// This API is not available in Javascript.

FindItemByProperty(IRawElementProviderSimple, AutomationProperty, Object) FindItemByProperty(IRawElementProviderSimple, AutomationProperty, Object) FindItemByProperty(IRawElementProviderSimple, AutomationProperty, Object) FindItemByProperty(IRawElementProviderSimple, AutomationProperty, Object)

Retrieves an element by the specified property value.

public : IRawElementProviderSimple FindItemByProperty(IRawElementProviderSimple startAfter, AutomationProperty automationProperty, PlatForm::Object value)public IRawElementProviderSimple FindItemByProperty(IRawElementProviderSimple startAfter, AutomationProperty automationProperty, Object value)Public Function FindItemByProperty(startAfter As IRawElementProviderSimple, automationProperty As AutomationProperty, value As Object) As IRawElementProviderSimple// This API is not available in Javascript.
Parameters
startAfter
IRawElementProviderSimple IRawElementProviderSimple IRawElementProviderSimple IRawElementProviderSimple

The item in the container after which to begin the search.

automationProperty
AutomationProperty AutomationProperty AutomationProperty AutomationProperty

The property that contains the value to retrieve.

value
PlatForm::Object Object Object Object

The value to retrieve.

Returns

The first item that matches the search criterion if such an item exists; otherwise, null.

GetSelection() GetSelection() GetSelection() GetSelection()

Retrieves a Microsoft UI Automation provider for each child element that is selected.

public : IRawElementProviderSimple[] GetSelection()public IRawElementProviderSimple[] GetSelection()Public Function GetSelection() As IRawElementProviderSimple[]// This API is not available in Javascript.
Returns
IRawElementProviderSimple[] IRawElementProviderSimple[] IRawElementProviderSimple[] IRawElementProviderSimple[]

A generic list of Microsoft UI Automation providers.

Scroll(ScrollAmount, ScrollAmount) Scroll(ScrollAmount, ScrollAmount) Scroll(ScrollAmount, ScrollAmount) Scroll(ScrollAmount, ScrollAmount)

Scrolls the visible region of the content area horizontally, vertically, or both.

public : void Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount)public void Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount)Public Function Scroll(horizontalAmount As ScrollAmount, verticalAmount As ScrollAmount) As void// This API is not available in Javascript.
Parameters
horizontalAmount
ScrollAmount ScrollAmount ScrollAmount ScrollAmount

The horizontal increment that is specific to the control. Pass NoScroll if the control cannot be scrolled in this direction.

verticalAmount
ScrollAmount ScrollAmount ScrollAmount ScrollAmount

The vertical increment that is specific to the control. Pass NoScroll if the control cannot be scrolled in this direction.

SetScrollPercent(Double, Double) SetScrollPercent(Double, Double) SetScrollPercent(Double, Double) SetScrollPercent(Double, Double)

Sets the horizontal and vertical scroll position as a percentage of the total content area within the control.

public : void SetScrollPercent(double horizontalPercent, double verticalPercent)public void SetScrollPercent(Double horizontalPercent, Double verticalPercent)Public Function SetScrollPercent(horizontalPercent As Double, verticalPercent As Double) As void// This API is not available in Javascript.
Parameters
horizontalPercent
double Double Double Double

The horizontal position as a percentage of the content area's total range. Pass NoScroll if the control cannot be scrolled in this direction.

verticalPercent
double Double Double Double

The vertical position as a percentage of the content area's total range. Pass NoScroll if the control cannot be scrolled in this direction.

See Also