編輯

共用方式為


UIView.AccessibilityValue Property

Definition

The value of the accessibility element.

public virtual string AccessibilityValue { [Foundation.Export("accessibilityValue", ObjCRuntime.ArgumentSemantic.Copy)] get; [Foundation.Export("setAccessibilityValue:", ObjCRuntime.ArgumentSemantic.Copy)] set; }
member this.AccessibilityValue : string with get, set

Property Value

If the UIView has a label, returns the value of the label.

Attributes

Remarks

Application developers should override this if their UIView has both a label and a value.

Applies to