skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadListBoxAutomationPeer

Represents the automation peer for a RadListBox, providing a way to interact with the control for accessibility purposes.

Inheritance
System.Object
RadListBoxAutomationPeer
GalleryAutomationPeer
RadClockAutomationPeer
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.dll

Syntax

public class RadListBoxAutomationPeer : ItemsControlAutomationPeer, ISelectionProvider, IScrollProvider

Constructors

RadListBoxAutomationPeer(RadListBox)

Initializes a new instance of the RadListBoxAutomationPeer class.

Declaration
public RadListBoxAutomationPeer(RadListBox owner)
Parameters
RadListBox owner

The owner.

Properties

CanSelectMultiple

Gets a value that specifies whether the UI Automation provider allows more than one child element to be selected concurrently.

Declaration
public bool CanSelectMultiple { get; }
Property Value
System.Boolean

HorizontallyScrollable

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

Declaration
public bool HorizontallyScrollable { get; }
Property Value
System.Boolean

HorizontalScrollPercent

Gets the current horizontal scroll position.

Declaration
public double HorizontalScrollPercent { get; }
Property Value
System.Double

HorizontalViewSize

Gets the current horizontal view size.

Declaration
public double HorizontalViewSize { get; }
Property Value
System.Double

IsSelectionRequired

Gets a value that specifies whether the UI Automation provider requires at least one child element to be selected.

Declaration
public bool IsSelectionRequired { get; }
Property Value
System.Boolean

VerticallyScrollable

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

Declaration
public bool VerticallyScrollable { get; }
Property Value
System.Boolean

VerticalScrollPercent

Gets the current vertical scroll position.

Declaration
public double VerticalScrollPercent { get; }
Property Value
System.Double

VerticalViewSize

Gets the vertical view size.

Declaration
public double VerticalViewSize { get; }
Property Value
System.Double

Methods

CreateItemAutomationPeer(Object)

Creates a new instance of the System.Windows.Automation.Peers.ItemAutomationPeer for a data item in the System.Windows.Controls.ItemsControl.Items collection of this System.Windows.Controls.ItemsControl.

Declaration
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
Parameters
System.Object item

Returns
System.Windows.Automation.Peers.ItemAutomationPeer

GetAutomationControlTypeCore()

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType().

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

GetClassNameCore()

Declaration
protected override string GetClassNameCore()
Returns
System.String

GetHelpTextCore()

Declaration
protected override string GetHelpTextCore()
Returns
System.String

GetItemStatusCore()

Declaration
protected override string GetItemStatusCore()
Returns
System.String

GetLocalizedControlTypeCore()

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetLocalizedControlType.

Declaration
protected override string GetLocalizedControlTypeCore()
Returns
System.String

The type of the control.

GetOrientationCore()

Gets a value that indicates whether the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer is laid out in a specific direction. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetOrientation().

Declaration
protected override AutomationOrientation GetOrientationCore()
Returns
System.Windows.Automation.Peers.AutomationOrientation

GetPattern(PatternInterface)

Gets the pattern.

Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.Windows.Automation.Peers.PatternInterface patternInterface

Returns
System.Object

GetSelection()

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

Declaration
public IRawElementProviderSimple[] GetSelection()
Returns
System.Windows.Automation.Provider.IRawElementProviderSimple[]

Scroll(ScrollAmount, ScrollAmount)

Scrolls the visible region of the content area horizontally and vertically.

Declaration
public void Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount)
Parameters
System.Windows.Automation.ScrollAmount horizontalAmount

System.Windows.Automation.ScrollAmount verticalAmount

SetScrollPercent(Double, Double)

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

Declaration
public void SetScrollPercent(double horizontalPercent, double verticalPercent)
Parameters
System.Double horizontalPercent

System.Double verticalPercent

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.