alexa
menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class RibbonListBoxAutomationPeer

    Class that provides UI Automation support of RibbonListBoxAutomationPeer .

    Inheritance
    System.Object
    RibbonListBoxAutomationPeer
    Namespace: Syncfusion.Windows.Controls.Tools.AutomationPeer
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class RibbonListBoxAutomationPeer : ListBoxAutomationPeer

    Constructors

    RibbonListBoxAutomationPeer(RibbonListBox)

    Initializes a new instance of the RibbonListBoxAutomationPeer class.

    Declaration
    public RibbonListBoxAutomationPeer(RibbonListBox owner)
    Parameters
    Type Name Description
    RibbonListBox owner

    An instance of RibbonListBox

    Methods

    CreateItemAutomationPeer(Object)

    Creates a new instance of the ItemAutomationPeer for a data item. The item exists in the Items collection of the associated ItemsControl owner.

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

    The data item

    Returns
    Type Description
    System.Windows.Automation.Peers.ItemAutomationPeer

    An object that exposes the data item to UI automation, or null.

    GetClassNameCore()

    Gets the name of the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetClassName.

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

    An System.String.Empty string.

    GetNameCore()

    Provides the peer's behavior when a UI Automation client calls GetName or an equivalent UI Automation client API.

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

    The name as used by assistive technoloGetClassNameCoreies and other UI Automation clients.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved