UIAccessibilityTrait UIAccessibilityTrait Enum

Definition

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

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Fields

Adjustable Adjustable 4096

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

AllowsDirectInteraction AllowsDirectInteraction 8192

The accessibility element allows direct touch interaction for VoiceOver users.

Button Button 1

The accessibility element should be treated as a button.

CausesPageTurn CausesPageTurn 16384

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

Header Header 65536

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

Image Image 4

The accessibility element should be treated as an image.

KeyboardKey KeyboardKey 32

The accessibility element behaves like a keyboard key.

2

The accessibility element should be treated as a link.

None None 0

The accessibility element has no traits.

NotEnabled NotEnabled 256

The accessibility element is not enabled.

PlaysSound PlaysSound 16

The accessibility element plays a sound when it is activated.

SearchField SearchField 1024

The accessibility element should be treated as a search field.

Selected Selected 8

The accessibility element is selected.

StartsMediaSession StartsMediaSession 2048

The accessibility element starts a media session when activated.

StaticText StaticText 64

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

SummaryElement SummaryElement 128

The accessibility element provides summary information when the app starts.

UpdatesFrequently UpdatesFrequently 512

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

Applies to