Share via


UIAccessibilityContainer_Extensions Class

Definition

Extension methods to the IUIAccessibilityContainer interface to support all the methods from the UIAccessibilityContainer protocol.

public static class UIAccessibilityContainer_Extensions
type UIAccessibilityContainer_Extensions = class
Inheritance
UIAccessibilityContainer_Extensions

Remarks

The extension methods for IUIAccessibilityContainer interface allow developers to treat instances of the interface as having all the optional methods of the original UIAccessibilityContainer protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

Name Description
AccessibilityElementCount(IUIAccessibilityContainer)

Returns the number of elements in the accessibility container.

GetAccessibilityContainerType(IUIAccessibilityContainer)

A value that tells whether the container is a table, or list, or etc.

GetAccessibilityElementAt(IUIAccessibilityContainer, IntPtr)

Returns the element at index.

GetAccessibilityElements(IUIAccessibilityContainer)

Returns the elements in the accessibility container.

GetIndexOfAccessibilityElement(IUIAccessibilityContainer, NSObject)

Returns the index of element.

SetAccessibilityContainerType(IUIAccessibilityContainer, UIAccessibilityContainerType)

A value that tells whether the container is a table, or list, or etc.

SetAccessibilityElements(IUIAccessibilityContainer, NSObject)

Assigns elements to the contents of the accessibilty container.

Applies to