alexa
menu

WPF

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

    Show / Hide Table of Contents

    Class RibbonGalleryAutomationPeer

    Class that provides UI Automation support of RibbonGalleryAutomationPeer.

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

    Constructors

    RibbonGalleryAutomationPeer(RibbonGallery)

    Initializes a new instance of the RibbonGalleryAutomationPeer class.

    Declaration
    public RibbonGalleryAutomationPeer(RibbonGallery ribbonGallery)
    Parameters
    Type Name Description
    RibbonGallery ribbonGallery

    An instance of RibbonGallery

    Methods

    GetAccessKeyCore()

    Gets the access key for the UIElement that is associated with this UIElementAutomationPeer

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

    The access key

    GetAutomationControlTypeCore()

    Gets the control type for the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType.

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

    The System.Windows.Automation.Peers.AutomationControlType.Custom enumeration value.

    GetAutomationIdCore()

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

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

    The automation identifier.

    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.

    GetHelpTextCore()

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

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

    The help text.

    GetItemStatusCore()

    Returns a string that describes the status of the associated RibbonGallery for UI Automation.

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

    A string representing the current status of the RibbonGallery, including properties such as menu icon bar state, filter availability, selected filter and item indices, dimensions, group presence, item size, resize direction, popup position, selected item, and visual mode.

    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.

    GetPattern(PatternInterface)

    Gets the control pattern for the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer.

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

    A value from the enumeration.

    Returns
    Type Description
    System.Object

    returns the pattern

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