Edit

Share via


UITextView.PasswordRules Property

Definition

Gets or sets the password rules for entering passwords in the UITextView.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UITextInputPasswordRules PasswordRules { [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("passwordRules", ObjCRuntime.ArgumentSemantic.Copy)] get; [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setPasswordRules:", ObjCRuntime.ArgumentSemantic.Copy)] set; }
member this.PasswordRules : UIKit.UITextInputPasswordRules with get, set

Property Value

The password rules for entering passwords in the UITextView.

Attributes

Remarks

The supplied rule is only applied if SecureTextEntry is set to true.

Applies to

See also