UIView.Tag Property

Definition

An integer that can be used to identify a specific UIView instance.

[get: Foundation.Export("tag")]
[set: Foundation.Export("setTag:")]
public virtual nint Tag { get; set; }
member this.Tag : nint with get, set

Property Value

The default value is 0.

Attributes

Remarks

The stability and uniqueness of this property is entirely the responsibility of the application developer.

Applies to

See also

  • <xref:UIKit.UIView.ViewWithTag>