WPF

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

    Show / Hide Table of Contents

    Class RibbonGalleryItemAutomationPeer

    Class that provides UI Automation support.

    Inheritance
    System.Object
    RibbonGalleryItemAutomationPeer
    Implements
    System.Windows.Automation.Provider.IInvokeProvider
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class RibbonGalleryItemAutomationPeer : FrameworkElementAutomationPeer, IInvokeProvider

    Constructors

    RibbonGalleryItemAutomationPeer(RibbonGalleryItem)

    Initializes a new instance of the RibbonGalleryItemAutomationPeer class.

    Declaration
    public RibbonGalleryItemAutomationPeer(RibbonGalleryItem control)
    Parameters
    Type Name Description
    RibbonGalleryItem control

    The control.

    Methods

    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.

    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.

    GetItemStatusCore()

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

    GetLocalizedControlTypeCore()

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

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

    The string that contains the type of control.

    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 null

    Invoke()

    Invokes RibbonButton Click event.

    Declaration
    public void Invoke()
    Exceptions
    Type Condition
    System.Windows.Automation.ElementNotEnabledException

    If the control is not enabled.

    Implements

    System.Windows.Automation.Provider.IInvokeProvider
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved