편집

다음을 통해 공유


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

Name Value Description
None 0

The accessibility element has no traits.

Button 1

The accessibility element should be treated as a button.

2

The accessibility element should be treated as a link.

Image 4

The accessibility element should be treated as an image.

Selected 8

The accessibility element is selected.

PlaysSound 16

The accessibility element plays a sound when it is activated.

KeyboardKey 32

The accessibility element behaves like a keyboard key.

StaticText 64

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

SummaryElement 128

The accessibility element provides summary information when the app starts.

NotEnabled 256

The accessibility element is not enabled.

UpdatesFrequently 512

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

SearchField 1024

The accessibility element should be treated as a search field.

StartsMediaSession 2048

The accessibility element starts a media session when activated.

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.

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.

Applies to