UIAccessibilityTrait Enum

Definition

An enumeration whose values can be used as flags for AccessibilityTraits.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum UIAccessibilityTrait
type UIAccessibilityTrait = 
Inheritance
UIAccessibilityTrait
Attributes

Fields

Adjustable 4096

The accessibility element allows a continuous adjustment over a range of values.

AllowsDirectInteraction 8192

The accessibility element allows direct touch interaction for VoiceOver users.

Button 1

The accessibility element should be treated as a button.

CausesPageTurn 16384

The accessibility element causes an automatic page turn when VoiceOver finishes reading the text within the element.

Header 65536

The accessibility element is a header that divides content into sections.

Image 4

The accessibility element should be treated as an image.

KeyboardKey 32

The accessibility element behaves like a keyboard key.

2

The accessibility element should be treated as a link.

None 0

The accessibility element has no traits.

NotEnabled 256

The accessibility element is not enabled.

PlaysSound 16

The accessibility element plays a sound when it is activated.

SearchField 1024

The accessibility element should be treated as a search field.

Selected 8

The accessibility element is selected.

StartsMediaSession 2048

The accessibility element starts a media session when activated.

StaticText 64

The accessibility element should be treated as static, immutable text.

SummaryElement 128

The accessibility element provides summary information when the app starts.

UpdatesFrequently 512

Indicates that the accessibility element frequently changes its label or value.

Applies to